summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/ZLocations.c4
-rw-r--r--lib/ZNewLocU.c4
-rw-r--r--lib/ZRetSubs.c3
-rw-r--r--lib/ZSendPkt.c3
4 files changed, 14 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;