https://bugs.gentoo.org/403777 From 18523e162859a76b8ddfe3aada1a84e5f53e1fbc Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 16 Feb 2012 05:04:17 +0000 Subject: [PATCH] include sys/stat.h in python code since we use "struct stat" git-svn-id: https://cracklib.svn.sourceforge.net/svnroot/cracklib/trunk@190 ef2837b8-c70d-0410-ba6b-ab289ffec030 --- cracklib/NEWS | 1 + cracklib/python/_cracklibmodule.c | 3 +++ 2 files changed, 4 insertions(+), 0 deletions(-) diff --git a/cracklib/python/_cracklibmodule.c b/cracklib/python/_cracklibmodule.c index 5b668c6..d4ba95d 100644 --- a/cracklib/python/_cracklibmodule.c +++ b/cracklib/python/_cracklibmodule.c @@ -31,6 +31,9 @@ #ifdef HAVE_PTHREAD_H #include #endif +#ifdef HAVE_SYS_STAT_H +#include +#endif #include #include #ifdef HAVE_LIBINTL_H -- 1.7.8.4