summaryrefslogtreecommitdiffstats
path: root/otherlibs/unix/gethost.c
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/unix/gethost.c')
-rw-r--r--otherlibs/unix/gethost.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/otherlibs/unix/gethost.c b/otherlibs/unix/gethost.c
index c32d9927a..3f9983da6 100644
--- a/otherlibs/unix/gethost.c
+++ b/otherlibs/unix/gethost.c
@@ -15,12 +15,14 @@
#include <alloc.h>
#include <memory.h>
#include <fail.h>
-#include "unix.h"
+#include "unixsupport.h"
#ifdef HAS_SOCKETS
#include "socketaddr.h"
+#ifndef _WIN32
#include <netdb.h>
+#endif
static int entry_h_length;