From c4c15288d200500b9776ad62bf873415b748f6c3 Mon Sep 17 00:00:00 2001 From: Gunter Knauf Date: Sat, 5 Sep 2009 20:11:32 +0000 Subject: changed includes to match style how we do with all other *.c files. --- ares/ares_parse_srv_reply.c | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) (limited to 'ares') diff --git a/ares/ares_parse_srv_reply.c b/ares/ares_parse_srv_reply.c index 5b1e218d4..82fd8afa9 100644 --- a/ares/ares_parse_srv_reply.c +++ b/ares/ares_parse_srv_reply.c @@ -20,17 +20,25 @@ #include "setup.h" -#if defined(WIN32) && !defined(WATT32) -#include "nameser.h" +#ifdef HAVE_SYS_SOCKET_H +# include +#endif +#ifdef HAVE_NETINET_IN_H +# include +#endif +#ifdef HAVE_NETDB_H +# include +#endif +#ifdef HAVE_ARPA_INET_H +# include +#endif +#ifdef HAVE_ARPA_NAMESER_H +# include #else -#include -#include -#include -#include -#include -#ifdef HAVE_ARPA_NAMESER_COMPAT_H -#include +# include "nameser.h" #endif +#ifdef HAVE_ARPA_NAMESER_COMPAT_H +# include #endif #include -- cgit v1.2.3