diff options
Diffstat (limited to 'ares/ares_query.c')
-rw-r--r-- | ares/ares_query.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/ares/ares_query.c b/ares/ares_query.c index cc3b63af8..25824593c 100644 --- a/ares/ares_query.c +++ b/ares/ares_query.c @@ -17,18 +17,16 @@ #include "setup.h" -#if defined(WIN32) && !defined(WATT32) -#include "nameser.h" -#else #ifdef HAVE_NETINET_IN_H -#include <netinet/in.h> +# include <netinet/in.h> #endif #ifdef HAVE_ARPA_NAMESER_H -#include <arpa/nameser.h> +# include <arpa/nameser.h> +#else +# include "nameser.h" #endif #ifdef HAVE_ARPA_NAMESER_COMPAT_H -#include <arpa/nameser_compat.h> -#endif +# include <arpa/nameser_compat.h> #endif #include <stdlib.h> |