summaryrefslogtreecommitdiff
path: root/lib/xgetcwd.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-09-11 09:07:35 +0000
committerJim Meyering <jim@meyering.net>2003-09-11 09:07:35 +0000
commit4e150ea96876261713a633e670c35ec982d7bedd (patch)
tree275ac8b00045abbaab24873569f9e7b7e79f300b /lib/xgetcwd.c
parente60a0548b7871d793b5055b9e58a70f904bb1bee (diff)
downloadcoreutils-4e150ea96876261713a633e670c35ec982d7bedd.tar.xz
Include <stdlib.h> unconditionally.
Diffstat (limited to 'lib/xgetcwd.c')
-rw-r--r--lib/xgetcwd.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/xgetcwd.c b/lib/xgetcwd.c
index ed425200d..2089b8897 100644
--- a/lib/xgetcwd.c
+++ b/lib/xgetcwd.c
@@ -28,10 +28,8 @@ extern int errno;
#endif
#include <sys/types.h>
+#include <stdlib.h>
-#if HAVE_STDLIB_H
-# include <stdlib.h>
-#endif
#if HAVE_UNISTD_H
# include <unistd.h>
#endif