diff options
Diffstat (limited to 'ares/ares_expand_string.c')
-rw-r--r-- | ares/ares_expand_string.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ares/ares_expand_string.c b/ares/ares_expand_string.c index 0c7211ba2..5a3ae182c 100644 --- a/ares/ares_expand_string.c +++ b/ares/ares_expand_string.c @@ -20,9 +20,13 @@ #if defined(WIN32) && !defined(WATT32) #include "nameser.h" #else +#ifdef HAVE_NETINET_IN_H #include <netinet/in.h> +#endif +#ifdef HAVE_ARPA_NAMESER_H #include <arpa/nameser.h> #endif +#endif #include <string.h> #include <stdlib.h> |