summaryrefslogtreecommitdiffstats
path: root/Include/myselect.h
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1996-02-14 16:04:39 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1996-02-14 16:04:39 (GMT)
commite708f4005d777a2930171d0b96d75e7f8abb8027 (patch)
tree4cbc6126a3debee5ba27d35d9612cc2b3427264a /Include/myselect.h
parent5ebca871d96f3dea5a004dba05684ca159b2899d (diff)
downloadcpython-e708f4005d777a2930171d0b96d75e7f8abb8027.zip
cpython-e708f4005d777a2930171d0b96d75e7f8abb8027.tar.gz
cpython-e708f4005d777a2930171d0b96d75e7f8abb8027.tar.bz2
Include GUSI.h if compiling for mac with gusi-sockets
Diffstat (limited to 'Include/myselect.h')
-rw-r--r--Include/myselect.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Include/myselect.h b/Include/myselect.h
index ee964eb..0c92c7a 100644
--- a/Include/myselect.h
+++ b/Include/myselect.h
@@ -44,6 +44,11 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#else /* !HAVE_SYS_SELECT_H */
+#ifdef USE_GUSI
+/* If we don't have sys/select the definition may be in unistd.h */
+#include <GUSI.h>
+#endif
+
#include "mytime.h"
#endif /* !HAVE_SYS_SELECT_H */