summaryrefslogtreecommitdiff
path: root/ares.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2005-12-19 00:15:04 +0000
committerYang Tse <yangsita@gmail.com>2005-12-19 00:15:04 +0000
commitc43edebb7063f9729dc6aa64b0cf0aa1dfe6011c (patch)
treee8d3cedbca9b23b72de5aa52c890ec9167a960ff /ares.h
parentbfc7b16712dc43588d6253f2c378811a065f079c (diff)
downloadc-ares-c43edebb7063f9729dc6aa64b0cf0aa1dfe6011c.tar.gz
c-ares-c43edebb7063f9729dc6aa64b0cf0aa1dfe6011c.tar.bz2
c-ares-c43edebb7063f9729dc6aa64b0cf0aa1dfe6011c.zip
Undo previous change. This header file belongs to the public
interface and the change could break the compilation of thrid party apps which link against this library.
Diffstat (limited to 'ares.h')
-rw-r--r--ares.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/ares.h b/ares.h
index 695f8aa..7f76112 100644
--- a/ares.h
+++ b/ares.h
@@ -31,7 +31,10 @@
#include <netinet/in.h>
#include <sys/socket.h>
#include <tcp.h>
-#elif !defined(WIN32)
+#elif defined(WIN32)
+ #include <winsock2.h>
+ #include <windows.h>
+#else
#include <netinet/in.h>
#include <sys/socket.h>
#endif