aboutsummaryrefslogtreecommitdiff
path: root/ares/ares__get_hostent.c
diff options
context:
space:
mode:
authorGisle Vanem <gvanem@broadpark.no>2004-08-20 13:45:26 +0000
committerGisle Vanem <gvanem@broadpark.no>2004-08-20 13:45:26 +0000
commitb17e32baa750d9ce9459e06b144e4ed376dbaa32 (patch)
treeff1096681439c771456586b8e9e0d542e28ff1ca /ares/ares__get_hostent.c
parentcd52b9f0da6ad17287e85e55363248d9f7430ba4 (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__get_hostent.c')
-rw-r--r--ares/ares__get_hostent.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ares/ares__get_hostent.c b/ares/ares__get_hostent.c
index 896f516d2..551b597c0 100644
--- a/ares/ares__get_hostent.c
+++ b/ares/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>