]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
AIX fix.
authorGuido van Rossum <guido@python.org>
Wed, 27 Nov 1991 14:55:18 +0000 (14:55 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 27 Nov 1991 14:55:18 +0000 (14:55 +0000)
Modules/socketmodule.c
Modules/timemodule.c

index 849eec41f60c8c90bc7dfe46435abee6102d5bb1..de38d6dbc1624ad4bef136e8d9e82e5e5a2d5f9c 100644 (file)
@@ -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
 
 
index a3bd383ee48d7567f1ed47471974a7db1cadd0a5..848e3220af39955327a1efd4da812f53372a4965 100644 (file)
@@ -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