summaryrefslogtreecommitdiffstats
path: root/gl/gethostname.c
diff options
context:
space:
mode:
authorThomas Guyot-Sionnest <dermoth@aei.ca>2009-01-15 09:22:57 (GMT)
committerThomas Guyot-Sionnest <dermoth@aei.ca>2009-01-15 10:19:08 (GMT)
commit71cdb52799220f8d9052643baf1d3e9836a9c755 (patch)
tree27aee97a35d9ab51f0d8f64a46690bd41a5f8c1b /gl/gethostname.c
parentf7afa46586645e50498d8b2d0c67884f014dc3a4 (diff)
downloadmonitoring-plugins-71cdb52799220f8d9052643baf1d3e9836a9c755.tar.gz
Sync with gnulib
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