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: upstream/7.37.1~11080 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=40eb7d0d48a61865bff9f0d6e336ef9491515f0b;p=platform%2Fupstream%2Fcurl.git FIONBIO is in sys/ioctl.h on AIX --- diff --git a/ares/ares_process.c b/ares/ares_process.c index 83b4070..c050308 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 e3a9c96..6f5100b 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 \