summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1991-11-27 14:55:18 (GMT)
committerGuido van Rossum <guido@python.org>1991-11-27 14:55:18 (GMT)
commit0bb1a51925d686964efd059ed03ee5fff35b0041 (patch)
tree4c20b924a66141b22dbeb646ad3eed0641948d7a /Modules
parent3c28474ea24bced669c06effaf845da03c2aa77e (diff)
downloadcpython-0bb1a51925d686964efd059ed03ee5fff35b0041.zip
cpython-0bb1a51925d686964efd059ed03ee5fff35b0041.tar.gz
cpython-0bb1a51925d686964efd059ed03ee5fff35b0041.tar.bz2
AIX fix.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/socketmodule.c3
-rw-r--r--Modules/timemodule.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c
index 849eec4..de38d6d 100644
--- a/Modules/socketmodule.c
+++ b/Modules/socketmodule.c
@@ -78,7 +78,8 @@ Socket methods:
#include <sys/un.h>
#include <netdb.h>
#ifdef _AIX /* I *think* this works */
-#include <select.h> /* Needed for fd_set */
+/* AIX defines fd_set in a separate file. Sigh... */
+#include <sys/select.h>
#endif
diff --git a/Modules/timemodule.c b/Modules/timemodule.c
index a3bd383..848e322 100644
--- a/Modules/timemodule.c
+++ b/Modules/timemodule.c
@@ -229,7 +229,7 @@ millitimer()
#ifdef BSD_TIME
-#ifdef _IBMR2
+#ifdef _AIX /* I *think* this works */
/* AIX defines fd_set in a separate file. Sigh... */
#include <sys/select.h>
#endif