]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Include <stdlib.h>, <string.h> unconditionally.
authorJim Meyering <jim@meyering.net>
Wed, 10 Sep 2003 08:49:12 +0000 (08:49 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 10 Sep 2003 08:49:12 +0000 (08:49 +0000)
(getenv): Do not declare.

lib/human.c

index 285e4fd55e8c41bbdf11bf871cb0d09adc5e08d6..b342bf178445d2d4f68ad51999ab579be98df988 100644 (file)
 # 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)