summaryrefslogtreecommitdiff
path: root/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
commit48d6915d8b8488be641e52c290f680b9655312b1 (patch)
treeb20f6a13fa8bde9711106b7c371466acf23e6a3b /ahost.c
parent8e881e02f55aee96d0714166ee08982d4642b2f1 (diff)
downloadc-ares-48d6915d8b8488be641e52c290f680b9655312b1.tar.gz
c-ares-48d6915d8b8488be641e52c290f680b9655312b1.tar.bz2
c-ares-48d6915d8b8488be641e52c290f680b9655312b1.zip
Don't include "nameser.h" for Watt32. Use the normal BSD-socket headers.
Diffstat (limited to 'ahost.c')
-rw-r--r--ahost.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ahost.c b/ahost.c
index 92eacd7..55d47a4 100644
--- a/ahost.c
+++ b/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>