summaryrefslogtreecommitdiff
path: root/ares_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'ares_init.c')
-rw-r--r--ares_init.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/ares_init.c b/ares_init.c
index d4e1505..4d4ba1e 100644
--- a/ares_init.c
+++ b/ares_init.c
@@ -19,11 +19,10 @@
#include "setup.h"
#if defined(WIN32) && !defined(WATT32)
-#include "nameser.h"
#include <iphlpapi.h>
#include <malloc.h>
+#endif
-#else
#ifdef HAVE_SYS_PARAM_H
#include <sys/param.h>
#endif
@@ -49,16 +48,17 @@
#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>
+# include <arpa/nameser_compat.h>
#endif
+
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
-#endif
#include <stdio.h>
#include <stdlib.h>