projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
pathmax: PATH_MAX: use pathconf only when available
[gnulib.git]
/
lib
/
gethostname.c
diff --git
a/lib/gethostname.c
b/lib/gethostname.c
index
169dd4e
..
acff351
100644
(file)
--- a/
lib/gethostname.c
+++ b/
lib/gethostname.c
@@
-19,6
+19,9
@@
#include <config.h>
#include <config.h>
+/* Specification. */
+#include <unistd.h>
+
#ifdef HAVE_UNAME
# include <sys/utsname.h>
#endif
#ifdef HAVE_UNAME
# include <sys/utsname.h>
#endif