From: Daniel Stenberg Date: Fri, 3 Jun 2005 07:39:18 +0000 (+0000) Subject: FIONBIO is in sys/ioctl.h on AIX X-Git-Tag: curl-7_14_1~142 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40eb7d0d48a61865bff9f0d6e336ef9491515f0b;p=thirdparty%2Fcurl.git FIONBIO is in sys/ioctl.h on AIX --- diff --git a/ares/ares_process.c b/ares/ares_process.c index 83b407077d..c050308f07 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 e3a9c968ac..6f5100b235 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 \