summaryrefslogtreecommitdiff
path: root/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
commitac9950c3eb570436abbe7370f1b2dd3fb104e804 (patch)
tree72a16a6e79cf689ba23541182c0a54b8a6b4c14c /ares_process.c
parent02e8cf6e453db23e752a0ce2efa6a7703aa2837d (diff)
downloadc-ares-ac9950c3eb570436abbe7370f1b2dd3fb104e804.tar.gz
c-ares-ac9950c3eb570436abbe7370f1b2dd3fb104e804.tar.bz2
c-ares-ac9950c3eb570436abbe7370f1b2dd3fb104e804.zip
Changes for PellesC for Win32. It needs <unistd.h> for 'ssize_t'. Hence the
rearrangement in ares_process.c.
Diffstat (limited to 'ares_process.c')
-rw-r--r--ares_process.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ares_process.c b/ares_process.c
index 93e7196..456d952 100644
--- a/ares_process.c
+++ b/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>