summaryrefslogtreecommitdiffstats
path: root/otherlibs/unix/gethost.c
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>1996-09-04 14:15:31 +0000
committerXavier Leroy <xavier.leroy@inria.fr>1996-09-04 14:15:31 +0000
commitac9f8e8094ea19199a24fd5c67053718198ed172 (patch)
treebd3d0fe88168c1a970c3b6809f13562ffa7388cd /otherlibs/unix/gethost.c
parent7fb9cd28d0cfbca9c91a96fefe5a730cab3d4804 (diff)
Renommage unix.h -> unixsupport.h
Petites adaptations pour Win32. git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@951 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
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;