aboutsummaryrefslogtreecommitdiff
path: root/ares/ares.h
diff options
context:
space:
mode:
Diffstat (limited to 'ares/ares.h')
-rw-r--r--ares/ares.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/ares/ares.h b/ares/ares.h
index af1a52a9e..44a9d087c 100644
--- a/ares/ares.h
+++ b/ares/ares.h
@@ -27,11 +27,14 @@
#include <sys/select.h>
#endif
-#ifdef WIN32
-#include <winsock.h>
-#include <windows.h>
+#if defined(WATT32)
+ #include <netinet/in.h>
+ #include <tcp.h>
+#elif defined(WIN32)
+ #include <winsock.h>
+ #include <windows.h>
#else
-#include <netinet/in.h>
+ #include <netinet/in.h>
#endif
#define ARES_SUCCESS 0