aboutsummaryrefslogtreecommitdiff
path: root/ares
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
commitd6c5d24af3627ec12721e7d286d426ed12901b55 (patch)
treefde31d9d7ef60d7edeb515ce82591a6283c0923b /ares
parent8a3280a2de29f1136e6f3986c670002b038ac903 (diff)
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')
-rw-r--r--ares/ares.h5
-rw-r--r--ares/nameser.h1
2 files changed, 1 insertions, 5 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
diff --git a/ares/nameser.h b/ares/nameser.h
index 7127c2640..0ccbfd1c0 100644
--- a/ares/nameser.h
+++ b/ares/nameser.h
@@ -7,7 +7,6 @@
port build */
#ifndef NETWARE
-#include <windows.h>
#include <process.h> /* for the _getpid() proto */
#endif /* !NETWARE */
#include <sys/types.h>