summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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