summaryrefslogtreecommitdiff
path: root/ares/ahost.c
diff options
context:
space:
mode:
authorGisle Vanem <gvanem@broadpark.no>2006-10-31 17:51:54 +0000
committerGisle Vanem <gvanem@broadpark.no>2006-10-31 17:51:54 +0000
commit561d01c4504571196571b8e0ac6b63207a92410a (patch)
tree92a558558cfa12ae1cb7099c730130e055f52ab1 /ares/ahost.c
parentc6c8a30da1215491c3d5581700f2332ebba842b9 (diff)
downloadcurl-561d01c4504571196571b8e0ac6b63207a92410a.tar.gz
Don't include "nameser.h" for Watt32. Use the normal BSD-socket headers.
Diffstat (limited to 'ares/ahost.c')
-rw-r--r--ares/ahost.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ares/ahost.c b/ares/ahost.c
index 92eacd76a..55d47a416 100644
--- a/ares/ahost.c
+++ b/ares/ahost.c
@@ -18,8 +18,7 @@
#include "setup.h"
#include <sys/types.h>
-#ifdef WIN32
-#else
+#if !defined(WIN32) || defined(WATT32)
#include <sys/time.h>
#include <sys/socket.h>
#include <netinet/in.h>