diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2006-06-10 12:23:46 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2006-06-10 12:23:46 (GMT) |
commit | 0e8bd7e1ccf7f47bc0bb920af899c77669016d3d (patch) | |
tree | a2724cb3463072f259b31175662d9a03ed02b4c3 /Modules/mmapmodule.c | |
parent | acd0d6d4160c6b7f12d80807a4312f6f57338b4d (diff) | |
download | cpython-0e8bd7e1ccf7f47bc0bb920af899c77669016d3d.zip cpython-0e8bd7e1ccf7f47bc0bb920af899c77669016d3d.tar.gz cpython-0e8bd7e1ccf7f47bc0bb920af899c77669016d3d.tar.bz2 |
Patch #1495999: Part two of Windows CE changes.
- update header checks, using autoconf
- provide dummies for getenv, environ, and GetVersion
- adjust MSC_VER check in socketmodule.c
Diffstat (limited to 'Modules/mmapmodule.c')
-rw-r--r-- | Modules/mmapmodule.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/mmapmodule.c b/Modules/mmapmodule.c index 19970c9..b2dd675 100644 --- a/Modules/mmapmodule.c +++ b/Modules/mmapmodule.c @@ -50,7 +50,10 @@ my_getpagesize(void) #endif /* UNIX */ #include <string.h> + +#ifdef HAVE_SYS_TYPES_H #include <sys/types.h> +#endif /* HAVE_SYS_TYPES_H */ /* Prefer MAP_ANONYMOUS since MAP_ANON is deprecated according to man page. */ #if !defined(MAP_ANONYMOUS) && defined(MAP_ANON) |