X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Ftempname.c;h=bf5a15d04415484f94840d9735e34727d4c2e490;hb=4b4109233097408185555b472eb302c8d3da33b9;hp=382cb13e4714d6201b0299953e38eaa29cf0ddc4;hpb=6ff0c2a66fb36bdd6bac08993c2f3327e2cd2f28;p=gnulib.git diff --git a/lib/tempname.c b/lib/tempname.c index 382cb13e4..bf5a15d04 100644 --- a/lib/tempname.c +++ b/lib/tempname.c @@ -44,10 +44,11 @@ #if STDC_HEADERS || _LIBC # include -# include # include #endif +#include + #if HAVE_FCNTL_H || _LIBC # include #endif @@ -105,13 +106,6 @@ #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