diff options
author | Jim Meyering <jim@meyering.net> | 2003-09-11 09:07:35 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-09-11 09:07:35 +0000 |
commit | 4e150ea96876261713a633e670c35ec982d7bedd (patch) | |
tree | 275ac8b00045abbaab24873569f9e7b7e79f300b /lib | |
parent | e60a0548b7871d793b5055b9e58a70f904bb1bee (diff) | |
download | coreutils-4e150ea96876261713a633e670c35ec982d7bedd.tar.xz |
Include <stdlib.h> unconditionally.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/save-cwd.c | 5 | ||||
-rw-r--r-- | lib/xgetcwd.c | 4 |
2 files changed, 2 insertions, 7 deletions
diff --git a/lib/save-cwd.c b/lib/save-cwd.c index b7b85a1b5..6fb39f0aa 100644 --- a/lib/save-cwd.c +++ b/lib/save-cwd.c @@ -22,10 +22,7 @@ #endif #include <stdio.h> - -#ifdef STDC_HEADERS -# include <stdlib.h> -#endif +#include <stdlib.h> #if HAVE_UNISTD_H # include <unistd.h> 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 |