diff options
author | Yang Tse <yangsita@gmail.com> | 2005-12-19 00:15:04 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2005-12-19 00:15:04 +0000 |
commit | c43edebb7063f9729dc6aa64b0cf0aa1dfe6011c (patch) | |
tree | e8d3cedbca9b23b72de5aa52c890ec9167a960ff /ares.h | |
parent | bfc7b16712dc43588d6253f2c378811a065f079c (diff) | |
download | c-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.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |