diff options
Diffstat (limited to 'otherlibs/unix/gethostname.c')
-rw-r--r-- | otherlibs/unix/gethostname.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/otherlibs/unix/gethostname.c b/otherlibs/unix/gethostname.c index 90a0b3ace..ca5da31ae 100644 --- a/otherlibs/unix/gethostname.c +++ b/otherlibs/unix/gethostname.c @@ -13,8 +13,12 @@ #include <mlvalues.h> #include <alloc.h> +#ifndef _WIN32 #include <sys/param.h> -#include "unix.h" +#else +#include <winsock.h> +#endif +#include "unixsupport.h" #ifdef HAS_GETHOSTNAME |