]> granicus.if.org Git - curl/commitdiff
Don't include "nameser.h" for Watt32. Use the normal BSD-socket headers.
authorGisle Vanem <gvanem@broadpark.no>
Tue, 31 Oct 2006 17:51:54 +0000 (17:51 +0000)
committerGisle Vanem <gvanem@broadpark.no>
Tue, 31 Oct 2006 17:51:54 +0000 (17:51 +0000)
ares/adig.c
ares/ahost.c

index 494386ff4d97c908706c7bba4116821b79b950c3..6bc87cf03ad6e1aeea2637f0c7d9704e061e47d3 100644 (file)
@@ -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>
index 92eacd76a438eecaec6c5cf71df52c1e088ead2a..55d47a416f4ab5bd259e1dc8df810f7742d17990 100644 (file)
@@ -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>