]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Include <stdlib.h> unconditionally.
authorJim Meyering <jim@meyering.net>
Thu, 11 Sep 2003 09:07:35 +0000 (09:07 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 11 Sep 2003 09:07:35 +0000 (09:07 +0000)
lib/save-cwd.c
lib/xgetcwd.c

index b7b85a1b55d85e72c234ecb605ce0464251a675d..6fb39f0aa0c91e3864951bf7087268766bda81d8 100644 (file)
 #endif
 
 #include <stdio.h>
-
-#ifdef STDC_HEADERS
-# include <stdlib.h>
-#endif
+#include <stdlib.h>
 
 #if HAVE_UNISTD_H
 # include <unistd.h>
index ed425200d037ea1073af16d215bca5bd3a7c0224..2089b8897c89e98d236c4377638df58ed2894520 100644 (file)
@@ -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