summaryrefslogtreecommitdiff
path: root/ares.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2005-12-18 15:36:14 +0000
committerYang Tse <yangsita@gmail.com>2005-12-18 15:36:14 +0000
commit4b3090680ac4720ac75067289151b457dd30d66a (patch)
treeaeca6e094ac53f9e0bb5a6f9c31d89fd88b587f5 /ares.h
parent2259e593a1e83995f1a35a6eb4625d91f869402b (diff)
downloadc-ares-4b3090680ac4720ac75067289151b457dd30d66a.tar.gz
c-ares-4b3090680ac4720ac75067289151b457dd30d66a.tar.bz2
c-ares-4b3090680ac4720ac75067289151b457dd30d66a.zip
Cleanup windows header includes. Where aplicable, inclusion of
windows.h winsock.h winsock2.h ws2tcpip.h is done in setup.h
Diffstat (limited to 'ares.h')
-rw-r--r--ares.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/ares.h b/ares.h
index 7f76112..695f8aa 100644
--- a/ares.h
+++ b/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