diff Python/import.c @ 10530:d834ecdf8c26 legacy-trunk

Changes by Mark Hammond for Windows CE. Mostly of the form #ifdef DONT_HAVE_header_H ... #endif around #include <header.h>.
author Guido van Rossum <guido@python.org>
date Wed, 07 Apr 1999 16:07:23 +0000
parents 0390af6acf7f
children 5738ad737114
line wrap: on
line diff
--- a/Python/import.c	Wed Apr 07 16:05:47 1999 +0000
+++ b/Python/import.c	Wed Apr 07 16:07:23 1999 +0000
@@ -55,8 +55,12 @@
 #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 */