summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar John F. Carr <jfc@mit.edu>1990-12-11 21:09:35 +0000
committerGravatar John F. Carr <jfc@mit.edu>1990-12-11 21:09:35 +0000
commita344f9fe068345cb07c6f2597257137e8fe3db10 (patch)
tree845dee8fa9a0986015e2eb5f655fccf24260573a
parent642f0cac50b23ed1576c48db5ed073f881560013 (diff)
AIX needs <sys/select.h>
-rw-r--r--lib/ZLocations.c4
-rw-r--r--lib/ZNewLocU.c4
-rw-r--r--lib/ZRetSubs.c3
-rw-r--r--lib/ZSendPkt.c3
-rw-r--r--zwgc/mux.c4
5 files changed, 18 insertions, 0 deletions
diff --git a/lib/ZLocations.c b/lib/ZLocations.c
index 8c8a958..c1d965c 100644
--- a/lib/ZLocations.c
+++ b/lib/ZLocations.c
@@ -21,6 +21,10 @@ static char rcsid_ZLocations_c[] = "$Header$";
#include <zephyr/zephyr_internal.h>
+#ifdef _AIX
+#include <sys/select.h>
+#endif
+
#include <pwd.h>
#include <sys/file.h>
#include <sys/param.h>
diff --git a/lib/ZNewLocU.c b/lib/ZNewLocU.c
index 3361aba..881619f 100644
--- a/lib/ZNewLocU.c
+++ b/lib/ZNewLocU.c
@@ -20,6 +20,10 @@ static char rcsid_ZNewLocateUser_c[] = "$Header$";
#include <zephyr/zephyr_internal.h>
+#ifdef _AIX
+#include <sys/select.h>
+#endif
+
Code_t ZNewLocateUser(user, nlocs, auth)
char *user;
int *nlocs;
diff --git a/lib/ZRetSubs.c b/lib/ZRetSubs.c
index 31fe993..605b962 100644
--- a/lib/ZRetSubs.c
+++ b/lib/ZRetSubs.c
@@ -20,6 +20,9 @@ static char rcsid_ZRetrieveSubscriptions_c[] = "$Header$";
#include <zephyr/mit-copyright.h>
#include <zephyr/zephyr_internal.h>
+#ifdef _AIX
+#include <sys/select.h>
+#endif
Code_t ZRetrieveSubscriptions(port,nsubs)
u_short port;
diff --git a/lib/ZSendPkt.c b/lib/ZSendPkt.c
index 08660b5..fccf7fe 100644
--- a/lib/ZSendPkt.c
+++ b/lib/ZSendPkt.c
@@ -20,6 +20,9 @@ static char rcsid_ZSendPacket_c[] = "$Header$";
#include <zephyr/zephyr_internal.h>
#include <sys/socket.h>
+#ifdef _AIX
+#include <sys/select.h>
+#endif
Code_t ZSendPacket(packet, len, waitforack)
char *packet;
diff --git a/zwgc/mux.c b/zwgc/mux.c
index 37c363c..32fb221 100644
--- a/zwgc/mux.c
+++ b/zwgc/mux.c
@@ -33,6 +33,10 @@ static char rcsid_mux_c[] = "$Id$";
#include "zwgc.h"
#include "pointer.h"
+#ifdef _AIX
+#include <sys/select.h>
+#endif
+
/*
* mux_end_loop_p - Setting this to true during a mux_loop causes the mux_loop
* to be exited.