diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2008-11-29 00:26:07 +0000 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2008-11-29 00:26:07 +0000 |
commit | b4371466d465f9d67c776d52fbe83122848196bf (patch) | |
tree | a12b457297a89204044150c21291361875cdedff /ares_mkquery.c | |
parent | 7bd83c2e33c2e4723fea13cfd4199b3fa30e6b73 (diff) | |
download | c-ares-b4371466d465f9d67c776d52fbe83122848196bf.tar.gz c-ares-b4371466d465f9d67c776d52fbe83122848196bf.tar.bz2 c-ares-b4371466d465f9d67c776d52fbe83122848196bf.zip |
Make sure sys/socket.h is included before netinet/in.h (required by
OpenWatcom C)
Diffstat (limited to 'ares_mkquery.c')
-rw-r--r-- | ares_mkquery.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ares_mkquery.c b/ares_mkquery.c index a9c9187..27ec1ee 100644 --- a/ares_mkquery.c +++ b/ares_mkquery.c @@ -17,6 +17,9 @@ #include "setup.h" +#ifdef HAVE_SYS_SOCKET_H +# include <sys/socket.h> +#endif #ifdef HAVE_NETINET_IN_H # include <netinet/in.h> #endif |