summaryrefslogtreecommitdiff
path: root/modules/gethostname
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gethostname')
-rw-r--r--modules/gethostname6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/gethostname b/modules/gethostname
index 8c24571276..359434ab37 100644
--- a/modules/gethostname
+++ b/modules/gethostname
@@ -8,9 +8,9 @@ lib/w32sock.h
Depends-on:
unistd
-sys_socket
-errno
-sockets
+sys_socket [test $HAVE_GETHOSTNAME = 0]
+errno [test $HAVE_GETHOSTNAME = 0]
+sockets [test $HAVE_GETHOSTNAME = 0]
configure.ac:
gl_FUNC_GETHOSTNAME