summaryrefslogtreecommitdiffstats
path: root/Modules/mmapmodule.c
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2006-06-10 12:23:46 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2006-06-10 12:23:46 (GMT)
commit0e8bd7e1ccf7f47bc0bb920af899c77669016d3d (patch)
treea2724cb3463072f259b31175662d9a03ed02b4c3 /Modules/mmapmodule.c
parentacd0d6d4160c6b7f12d80807a4312f6f57338b4d (diff)
downloadcpython-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.c3
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)