aboutsummaryrefslogtreecommitdiff
path: root/ares/ares_expand_string.c
diff options
context:
space:
mode:
Diffstat (limited to 'ares/ares_expand_string.c')
-rw-r--r--ares/ares_expand_string.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/ares/ares_expand_string.c b/ares/ares_expand_string.c
index 5a3ae182c..ead60a407 100644
--- a/ares/ares_expand_string.c
+++ b/ares/ares_expand_string.c
@@ -17,15 +17,13 @@
#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>
-#endif
+# include <arpa/nameser.h>
+#else
+# include "nameser.h"
#endif
#include <string.h>