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 | |
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.
-rw-r--r-- | ares.h | 5 | ||||
-rw-r--r-- | nameser.h | 1 |
2 files changed, 5 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 @@ -7,6 +7,7 @@ port build */ #ifndef NETWARE +#include <windows.h> #include <process.h> /* for the _getpid() proto */ #endif /* !NETWARE */ #include <sys/types.h> |