aboutsummaryrefslogtreecommitdiff
path: root/ares/ares_process.c
diff options
context:
space:
mode:
authorGisle Vanem <gvanem@broadpark.no>2005-12-20 20:48:38 +0000
committerGisle Vanem <gvanem@broadpark.no>2005-12-20 20:48:38 +0000
commitf1f32477e35aba50b84ec9892cd8b3357d2100cb (patch)
treee4fbf5cd545ee4c3e20b3c1bdd50a00ada49472d /ares/ares_process.c
parentdf2b1251a09a9fca8e67d37726bdfd2296d2a5e2 (diff)
Changes for PellesC for Win32. It needs <unistd.h> for 'ssize_t'. Hence the
rearrangement in ares_process.c.
Diffstat (limited to 'ares/ares_process.c')
-rw-r--r--ares/ares_process.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ares/ares_process.c b/ares/ares_process.c
index 93e7196e0..456d95218 100644
--- a/ares/ares_process.c
+++ b/ares/ares_process.c
@@ -30,6 +30,8 @@
#ifdef HAVE_ARPA_NAMESER_COMPAT_H
#include <arpa/nameser_compat.h>
#endif
+#endif /* WIN32 && !WATT32 */
+
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
@@ -39,7 +41,6 @@
#ifdef NETWARE
#include <sys/filio.h>
#endif
-#endif
#include <string.h>
#include <stdlib.h>