summaryrefslogtreecommitdiff
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
commit01118be8aed37c8160acf34af58dd9b161fbc86b (patch)
treeba2b38858b849dfedcc637c7c05e6c00881e7c92
parentc94c020c96d845279698ba5557d6d6e7521d93ad (diff)
downloadc-ares-01118be8aed37c8160acf34af58dd9b161fbc86b.tar.gz
c-ares-01118be8aed37c8160acf34af58dd9b161fbc86b.tar.bz2
c-ares-01118be8aed37c8160acf34af58dd9b161fbc86b.zip
FIONBIO is in sys/ioctl.h on AIX
-rw-r--r--ares_process.c3
-rw-r--r--configure.ac1
2 files changed, 4 insertions, 0 deletions
diff --git a/ares_process.c b/ares_process.c
index 83b4070..c050308 100644
--- a/ares_process.c
+++ b/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/configure.ac b/configure.ac
index e3a9c96..6f5100b 100644
--- a/configure.ac
+++ b/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 \