summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-07-13 08:44:23 +0000
committerJim Meyering <jim@meyering.net>2003-07-13 08:44:23 +0000
commit5ef577f0e77f401122fb228e6547e9da92ca958f (patch)
treeb38853a314abaa99d7398373a60f7e76223a0fe7 /lib
parent803a3441b1c6e521a656f6ec4f54db3128a2711b (diff)
downloadcoreutils-5ef577f0e77f401122fb228e6547e9da92ca958f.tar.xz
Include <stdlib.h> for declaration of free.
Diffstat (limited to 'lib')
-rw-r--r--lib/xgethostname.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/xgethostname.c b/lib/xgethostname.c
index a78dda8b6..861c52f05 100644
--- a/lib/xgethostname.c
+++ b/lib/xgethostname.c
@@ -21,6 +21,7 @@
# include <config.h>
#endif
+#include <stdlib.h>
#include <sys/types.h>
#include <errno.h>