diff options
author | Gisle Vanem <gvanem@broadpark.no> | 2004-08-20 13:45:26 +0000 |
---|---|---|
committer | Gisle Vanem <gvanem@broadpark.no> | 2004-08-20 13:45:26 +0000 |
commit | 6deb40acac246489db7c6021f7432d83a867670d (patch) | |
tree | 48fe529bed68f3b197e8e39fd60d70453d5551ce /ares.h | |
parent | 5133b2b6b9755497bf2cc6c58f40fbebc24b47f6 (diff) | |
download | c-ares-6deb40acac246489db7c6021f7432d83a867670d.tar.gz c-ares-6deb40acac246489db7c6021f7432d83a867670d.tar.bz2 c-ares-6deb40acac246489db7c6021f7432d83a867670d.zip |
Changes for Watt-32 on Windows. I've assumed Configure
sets the required HAVE_xx defines for non-DOS/Win targets.
Diffstat (limited to 'ares.h')
-rw-r--r-- | ares.h | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -27,11 +27,14 @@ #include <sys/select.h> #endif -#ifdef WIN32 -#include <winsock.h> -#include <windows.h> +#if defined(WATT32) + #include <netinet/in.h> + #include <tcp.h> +#elif defined(WIN32) + #include <winsock.h> + #include <windows.h> #else -#include <netinet/in.h> + #include <netinet/in.h> #endif #define ARES_SUCCESS 0 |