aboutsummaryrefslogtreecommitdiff
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
parentc6c8a30da1215491c3d5581700f2332ebba842b9 (diff)
Don't include "nameser.h" for Watt32. Use the normal BSD-socket headers.
-rw-r--r--ares/adig.c2
-rw-r--r--ares/ahost.c3
2 files changed, 2 insertions, 3 deletions
diff --git a/ares/adig.c b/ares/adig.c
index 494386ff4..6bc87cf03 100644
--- a/ares/adig.c
+++ b/ares/adig.c
@@ -18,7 +18,7 @@
#include "setup.h"
#include <sys/types.h>
-#ifdef WIN32
+#if defined(WIN32) && !defined(WATT32)
#include "nameser.h"
#else
#include <sys/time.h>
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>