From 33bcc047c11586cff59d22566226e847e0c23954 Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Sun, 2 Aug 2009 11:54:52 +0200 Subject: Implement gethostname correctly for native Windows. --- modules/gethostname | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'modules/gethostname') diff --git a/modules/gethostname b/modules/gethostname index 796dc6fea9..e21afe6a9c 100644 --- a/modules/gethostname +++ b/modules/gethostname @@ -4,10 +4,12 @@ gethostname() function: Return machine's hostname. 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 @@ Makefile.am: Include: +Link: +$(GETHOSTNAME_LIB) + License: LGPLv2+ -- cgit v1.2.1