summaryrefslogtreecommitdiff
path: root/ares__get_hostent.c
diff options
context:
space:
mode:
authorGisle Vanem <gvanem@broadpark.no>2004-08-20 13:45:26 (GMT)
committerGisle Vanem <gvanem@broadpark.no>2004-08-20 13:45:26 (GMT)
commit6deb40acac246489db7c6021f7432d83a867670d (patch)
tree48fe529bed68f3b197e8e39fd60d70453d5551ce /ares__get_hostent.c
parent5133b2b6b9755497bf2cc6c58f40fbebc24b47f6 (diff)
downloadc-ares-6deb40acac246489db7c6021f7432d83a867670d.zip
c-ares-6deb40acac246489db7c6021f7432d83a867670d.tar.gz
c-ares-6deb40acac246489db7c6021f7432d83a867670d.tar.bz2
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__get_hostent.c')
-rw-r--r--ares__get_hostent.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ares__get_hostent.c b/ares__get_hostent.c
index 896f516..551b597 100644
--- a/ares__get_hostent.c
+++ b/ares__get_hostent.c
@@ -16,9 +16,7 @@
#include "setup.h"
#include <sys/types.h>
-#ifdef WIN32
-
-#else
+#if !defined(WIN32) || defined(WATT32)
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>