From 40eb7d0d48a61865bff9f0d6e336ef9491515f0b Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 3 Jun 2005 07:39:18 +0000 Subject: [PATCH] FIONBIO is in sys/ioctl.h on AIX --- ares/ares_process.c | 3 +++ ares/configure.ac | 1 + 2 files changed, 4 insertions(+) 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 #endif +#ifdef HAVE_SYS_IOCTL_H +#include +#endif #endif #include 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 \