diff options
Diffstat (limited to 'ares_gethostbyaddr.c')
-rw-r--r-- | ares_gethostbyaddr.c | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/ares_gethostbyaddr.c b/ares_gethostbyaddr.c index 1274d5a..85e2e39 100644 --- a/ares_gethostbyaddr.c +++ b/ares_gethostbyaddr.c @@ -16,27 +16,25 @@ */ #include "setup.h" -#if defined(WIN32) && !defined(WATT32) -#include "nameser.h" -#else #ifdef HAVE_SYS_SOCKET_H -#include <sys/socket.h> +# include <sys/socket.h> #endif #ifdef HAVE_NETINET_IN_H -#include <netinet/in.h> +# include <netinet/in.h> #endif #ifdef HAVE_NETDB_H -#include <netdb.h> +# include <netdb.h> #endif #ifdef HAVE_ARPA_INET_H -#include <arpa/inet.h> +# include <arpa/inet.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 <stdio.h> |