summaryrefslogtreecommitdiffstats
path: root/gl/gethostname.c
diff options
context:
space:
mode:
Diffstat (limited to 'gl/gethostname.c')
-rw-r--r--gl/gethostname.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gl/gethostname.c b/gl/gethostname.c
index 169dd4e..acff351 100644
--- a/gl/gethostname.c
+++ b/gl/gethostname.c
@@ -19,6 +19,9 @@
19 19
20#include <config.h> 20#include <config.h>
21 21
22/* Specification. */
23#include <unistd.h>
24
22#ifdef HAVE_UNAME 25#ifdef HAVE_UNAME
23# include <sys/utsname.h> 26# include <sys/utsname.h>
24#endif 27#endif