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 | b17e32baa750d9ce9459e06b144e4ed376dbaa32 (patch) | |
tree | ff1096681439c771456586b8e9e0d542e28ff1ca /ares/ares.h | |
parent | cd52b9f0da6ad17287e85e55363248d9f7430ba4 (diff) |
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/ares.h')
-rw-r--r-- | ares/ares.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/ares/ares.h b/ares/ares.h index af1a52a9e..44a9d087c 100644 --- a/ares/ares.h +++ b/ares/ares.h @@ -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 |