From b4371466d465f9d67c776d52fbe83122848196bf Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Sat, 29 Nov 2008 00:26:07 +0000 Subject: Make sure sys/socket.h is included before netinet/in.h (required by OpenWatcom C) --- ares_query.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ares_query.c') diff --git a/ares_query.c b/ares_query.c index 14a0d66..0d1f036 100644 --- a/ares_query.c +++ b/ares_query.c @@ -17,6 +17,9 @@ #include "setup.h" +#ifdef HAVE_SYS_SOCKET_H +# include +#endif #ifdef HAVE_NETINET_IN_H # include #endif -- cgit v1.2.3