summaryrefslogtreecommitdiffstats
path: root/Python/import.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/import.c')
-rw-r--r--Python/import.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Python/import.c b/Python/import.c
index 936cbda..851fd06 100644
--- a/Python/import.c
+++ b/Python/import.c
@@ -55,8 +55,12 @@ PERFORMANCE OF THIS SOFTWARE.
#ifndef DONT_HAVE_STAT
#define HAVE_STAT
+#ifndef DONT_HAVE_SYS_TYPES_H
#include <sys/types.h>
+#endif
+#ifndef DONT_HAVE_SYS_STAT_H
#include <sys/stat.h>
+#endif
#if defined(PYCC_VACPP)
/* VisualAge C/C++ Failed to Define MountType Field in sys/stat.h */