#if STDC_HEADERS || _LIBC
# include <stddef.h>
-# include <stdlib.h>
# include <string.h>
#endif
+#include <stdlib.h>
+
#if HAVE_FCNTL_H || _LIBC
# include <fcntl.h>
#endif
#if ! (HAVE___SECURE_GETENV || _LIBC)
# define __secure_getenv getenv
-
-# ifndef HAVE_DECL_GETENV
-"this configure-time declaration test was not run"
-# endif
-# if !HAVE_DECL_GETENV
-char *getenv ();
-# endif
#endif
#ifdef _LIBC