diff options
author | Gisle Vanem <gvanem@broadpark.no> | 2004-08-20 14:10:44 +0000 |
---|---|---|
committer | Gisle Vanem <gvanem@broadpark.no> | 2004-08-20 14:10:44 +0000 |
commit | 0f51a1766789a9efe53c4edabc4dcff652687fff (patch) | |
tree | 12a0af6ba2eba070b0ffe577dc19d528c325f1ad /ares_gethostbyaddr.c | |
parent | 32fded8229ecaec1d2df7a150d16d70c069891b8 (diff) | |
download | c-ares-0f51a1766789a9efe53c4edabc4dcff652687fff.tar.gz c-ares-0f51a1766789a9efe53c4edabc4dcff652687fff.tar.bz2 c-ares-0f51a1766789a9efe53c4edabc4dcff652687fff.zip |
More patches for Watt-32 on Win32; don't include "nameser.h".
Diffstat (limited to 'ares_gethostbyaddr.c')
-rw-r--r-- | ares_gethostbyaddr.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ares_gethostbyaddr.c b/ares_gethostbyaddr.c index 460b556..f44b3fb 100644 --- a/ares_gethostbyaddr.c +++ b/ares_gethostbyaddr.c @@ -16,7 +16,7 @@ #include "setup.h" #include <sys/types.h> -#ifdef WIN32 +#if defined(WIN32) && !defined(WATT32) #include "nameser.h" #else #include <sys/socket.h> @@ -28,9 +28,14 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> + #include "ares.h" #include "ares_private.h" +#ifdef WATT32 +#undef WIN32 +#endif + struct addr_query { /* Arguments passed to ares_gethostbyaddr() */ ares_channel channel; |