summaryrefslogtreecommitdiff
path: root/lib/xgethostname.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-09-13 10:20:45 +0000
committerJim Meyering <jim@meyering.net>2003-09-13 10:20:45 +0000
commite151df91d8edae21780b54f8a59eb05013d8dfd8 (patch)
tree9dd88281c4094f0327d34c0a392fd1c4feb3d1f3 /lib/xgethostname.c
parent3da69c62ed725447f7d0631af41925f281f2e945 (diff)
downloadcoreutils-e151df91d8edae21780b54f8a59eb05013d8dfd8.tar.xz
Include exit.h.
Remove; now done by exit.h
Diffstat (limited to 'lib/xgethostname.c')
-rw-r--r--lib/xgethostname.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/xgethostname.c b/lib/xgethostname.c
index 5178784ba..60ee91a13 100644
--- a/lib/xgethostname.c
+++ b/lib/xgethostname.c
@@ -30,16 +30,13 @@ extern int errno;
#endif
#include "error.h"
+#include "exit.h"
#include "xalloc.h"
#ifndef ENAMETOOLONG
# define ENAMETOOLONG 9999
#endif
-#ifndef EXIT_FAILURE
-# define EXIT_FAILURE 1
-#endif
-
int gethostname ();
#ifndef INITIAL_HOSTNAME_LENGTH