diff options
author | Jim Meyering <jim@meyering.net> | 2003-09-10 08:49:12 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-09-10 08:49:12 +0000 |
commit | 890fdbf0c4fe6fc0edea84d4b45f8576a36bf2c9 (patch) | |
tree | c4a3bfa5c99ddc555c900cf7a7f878cc55997b07 /lib | |
parent | 9f8cacb16fb440a9e193fcedaf7ba47bb6a14491 (diff) | |
download | coreutils-890fdbf0c4fe6fc0edea84d4b45f8576a36bf2c9.tar.xz |
Include <stdlib.h>, <string.h> unconditionally.
(getenv): Do not declare.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/human.c | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/lib/human.c b/lib/human.c index 285e4fd55..b342bf178 100644 --- a/lib/human.c +++ b/lib/human.c @@ -36,25 +36,9 @@ # include <locale.h> #endif -#if HAVE_STDLIB_H -# include <stdlib.h> -#endif -#ifndef HAVE_DECL_GETENV -"this configure-time declaration test was not run" -#endif -#if !HAVE_DECL_GETENV -char *getenv (); -#endif - -#if HAVE_STRING_H -# include <string.h> -#endif - -#if HAVE_STRINGS_H -# include <strings.h> -#endif - #include <stdio.h> +#include <stdlib.h> +#include <string.h> #include "gettext.h" #define _(msgid) gettext (msgid) |