diff options
author | Guido van Rossum <guido@python.org> | 1999-04-07 16:07:23 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1999-04-07 16:07:23 (GMT) |
commit | 2571cc8bf50a9e08bc45116ee7f39de78139a6ca (patch) | |
tree | 4cd1520c835e29cbde8a0bfc3f281fff7c0e9beb /Python/import.c | |
parent | 99fb7c70f4e9e399c4cfbfb18f1f04a57fc80b50 (diff) | |
download | cpython-2571cc8bf50a9e08bc45116ee7f39de78139a6ca.zip cpython-2571cc8bf50a9e08bc45116ee7f39de78139a6ca.tar.gz cpython-2571cc8bf50a9e08bc45116ee7f39de78139a6ca.tar.bz2 |
Changes by Mark Hammond for Windows CE. Mostly of the form
#ifdef DONT_HAVE_header_H ... #endif around #include <header.h>.
Diffstat (limited to 'Python/import.c')
-rw-r--r-- | Python/import.c | 4 |
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 */ |