aboutsummaryrefslogtreecommitdiff
path: root/ares/ares.h
diff options
context:
space:
mode:
Diffstat (limited to 'ares/ares.h')
-rw-r--r--ares/ares.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/ares/ares.h b/ares/ares.h
index 7f76112f7..695f8aafb 100644
--- a/ares/ares.h
+++ b/ares/ares.h
@@ -31,10 +31,7 @@
#include <netinet/in.h>
#include <sys/socket.h>
#include <tcp.h>
-#elif defined(WIN32)
- #include <winsock2.h>
- #include <windows.h>
-#else
+#elif !defined(WIN32)
#include <netinet/in.h>
#include <sys/socket.h>
#endif