aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-06-03 07:39:18 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-06-03 07:39:18 +0000
commit40eb7d0d48a61865bff9f0d6e336ef9491515f0b (patch)
treeba6f553efd9c7e9ccc282bb9f76f35e93c81b76f
parent1dcb2b7e6592ae957b3d57f19b13c426768da4c8 (diff)
FIONBIO is in sys/ioctl.h on AIX
-rw-r--r--ares/ares_process.c3
-rw-r--r--ares/configure.ac1
2 files changed, 4 insertions, 0 deletions
diff --git a/ares/ares_process.c b/ares/ares_process.c
index 83b407077..c050308f0 100644
--- a/ares/ares_process.c
+++ b/ares/ares_process.c
@@ -33,6 +33,9 @@
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
+#ifdef HAVE_SYS_IOCTL_H
+#include <sys/ioctl.h>
+#endif
#endif
#include <string.h>
diff --git a/ares/configure.ac b/ares/configure.ac
index e3a9c968a..6f5100b23 100644
--- a/ares/configure.ac
+++ b/ares/configure.ac
@@ -65,6 +65,7 @@ AC_CHECK_HEADERS(
sys/time.h \
sys/select.h \
sys/socket.h \
+ sys/ioctl.h \
winsock.h \
netinet/in.h \
net/if.h \