X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=modules%2Fgethostname;h=359434ab3775b276613ff6d208d0612a91cfe7b8;hb=161a4b5fc16fbe0739fb2d4c60098cb9173133d3;hp=2fffbb1b2b30e3d407a001304a5520c11e1ceb7f;hpb=655b30edb69df6cb28a431f2b340d0683b0b1f93;p=pspp diff --git a/modules/gethostname b/modules/gethostname index 2fffbb1b2b..359434ab37 100644 --- a/modules/gethostname +++ b/modules/gethostname @@ -4,9 +4,13 @@ gethostname() function: Return machine's hostname. Files: lib/gethostname.c m4/gethostname.m4 +lib/w32sock.h Depends-on: unistd +sys_socket [test $HAVE_GETHOSTNAME = 0] +errno [test $HAVE_GETHOSTNAME = 0] +sockets [test $HAVE_GETHOSTNAME = 0] configure.ac: gl_FUNC_GETHOSTNAME @@ -17,8 +21,11 @@ Makefile.am: Include: +Link: +$(GETHOSTNAME_LIB) + License: -LGPL +LGPLv2+ Maintainer: all