diff modules/gethostname @ 11751:8153fe87d193

Implement gethostname correctly for native Windows.
author Simon Josefsson <simon@josefsson.org>
date Sun, 02 Aug 2009 11:54:52 +0200
parents 98ea7b28018f
children 4b822ff432cf
line wrap: on
line diff
--- a/modules/gethostname
+++ b/modules/gethostname
@@ -4,10 +4,12 @@
 Files:
 lib/gethostname.c
 m4/gethostname.m4
-m4/sys_socket_h.m4
+lib/w32sock.h
 
 Depends-on:
 unistd
+sys_socket
+errno
 
 configure.ac:
 gl_FUNC_GETHOSTNAME
@@ -18,6 +20,9 @@
 Include:
 <unistd.h>
 
+Link:
+$(GETHOSTNAME_LIB)
+
 License:
 LGPLv2+