linkat: Work around AIX 7.1 bug.
[gnulib.git] / modules / gethostname
index 7c13807..8c24571 100644 (file)
@@ -4,18 +4,28 @@ gethostname() function: Return machine's hostname.
 Files:
 lib/gethostname.c
 m4/gethostname.m4
+lib/w32sock.h
 
 Depends-on:
+unistd
+sys_socket
+errno
+sockets
 
 configure.ac:
 gl_FUNC_GETHOSTNAME
+gl_UNISTD_MODULE_INDICATOR([gethostname])
 
 Makefile.am:
 
 Include:
+<unistd.h>
+
+Link:
+$(GETHOSTNAME_LIB)
 
 License:
-LGPL
+LGPLv2+
 
 Maintainer:
 all