diff options
author | Jim Meyering <jim@meyering.net> | 2003-09-10 09:03:56 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-09-10 09:03:56 +0000 |
commit | c219e453f55af57088701b6f2f867e4932bc6c20 (patch) | |
tree | 0938e5f933abfd084fb44f2c7b9712ad1315c093 | |
parent | 71827bcf04f42711d9584a79f0dfd662c0f71922 (diff) | |
download | coreutils-c219e453f55af57088701b6f2f867e4932bc6c20.tar.xz |
Include <stdlib.h>, <string.h> unconditionally.
Include savedir.h first, to test interface.
-rw-r--r-- | lib/savedir.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/savedir.c b/lib/savedir.c index a1f8a6cd7..1cab9b6c5 100644 --- a/lib/savedir.c +++ b/lib/savedir.c @@ -23,6 +23,8 @@ # include <config.h> #endif +#include "savedir.h" + #include <sys/types.h> #include <errno.h> @@ -52,13 +54,10 @@ extern int errno; # define CLOSEDIR(d) closedir (d) #endif -#ifdef STDC_HEADERS -# include <stdlib.h> -# include <string.h> -#endif #include <stddef.h> +#include <stdlib.h> +#include <string.h> -#include "savedir.h" #include "xalloc.h" /* Return a freshly allocated string containing the filenames |