summaryrefslogtreecommitdiffstats
path: root/Modules/selectmodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1999-08-27 20:39:37 (GMT)
committerGuido van Rossum <guido@python.org>1999-08-27 20:39:37 (GMT)
commitff7e83d6067814a329790cc983f1efa67371ccf8 (patch)
tree2c5dbda38f6ef25f9d6f1fc07acf9b9603feb4b8 /Modules/selectmodule.c
parent7f1de832a21df9048041405b6ca624c91fd98e58 (diff)
downloadcpython-ff7e83d6067814a329790cc983f1efa67371ccf8.zip
cpython-ff7e83d6067814a329790cc983f1efa67371ccf8.tar.gz
cpython-ff7e83d6067814a329790cc983f1efa67371ccf8.tar.bz2
Patch by Mark Hammond to avoid certain header files on Windows/CE.
Diffstat (limited to 'Modules/selectmodule.c')
-rw-r--r--Modules/selectmodule.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/selectmodule.c b/Modules/selectmodule.c
index 11f72f5..c18d979 100644
--- a/Modules/selectmodule.c
+++ b/Modules/selectmodule.c
@@ -48,7 +48,9 @@ PERFORMANCE OF THIS SOFTWARE.
extern void bzero();
#endif
+#ifndef DONT_HAVE_SYS_TYPES_H
#include <sys/types.h>
+#endif
#if defined(PYOS_OS2)
#include <sys/time.h>