diff options
Diffstat (limited to 'ares')
-rw-r--r-- | ares/ares_free_hostent.c | 2 | ||||
-rw-r--r-- | ares/ares_private.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ares/ares_free_hostent.c b/ares/ares_free_hostent.c index 623e1e247..f07fd7c15 100644 --- a/ares/ares_free_hostent.c +++ b/ares/ares_free_hostent.c @@ -18,7 +18,7 @@ #include "ares_setup.h" #include <stdlib.h> -#if !defined(WIN32) || defined(WATT32) +#ifdef HAVE_NETDB_H #include <netdb.h> #endif diff --git a/ares/ares_private.h b/ares/ares_private.h index 036062dcd..37f3967e8 100644 --- a/ares/ares_private.h +++ b/ares/ares_private.h @@ -30,7 +30,7 @@ #include <stdio.h> #include <sys/types.h> -#if !defined(WIN32) || defined(WATT32) +#ifdef HAVE_NETINET_IN_H #include <netinet/in.h> #endif |