From: Jim Meyering Date: Thu, 11 Sep 2003 09:08:29 +0000 (+0000) Subject: Include , unconditionally. X-Git-Tag: v5.1.0~722 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa751c2b25039902b29ce8e91bce15e7b0baca5c;p=thirdparty%2Fcoreutils.git Include , unconditionally. (free): Remove decl. --- diff --git a/lib/stat.c b/lib/stat.c index 284da0cbc8..f8fc82ebce 100644 --- a/lib/stat.c +++ b/lib/stat.c @@ -31,12 +31,9 @@ extern int errno; #endif #if defined LSTAT && ! LSTAT_FOLLOWS_SLASHED_SYMLINK +# include # include -# if HAVE_STDLIB_H -# include -# endif - # ifdef STAT_MACROS_BROKEN # undef S_ISLNK # endif @@ -49,13 +46,6 @@ extern int errno; # endif # endif -# ifndef HAVE_DECL_FREE -"this configure-time declaration test was not run" -# endif -# if !HAVE_DECL_FREE -void free (); -# endif - # include "xalloc.h" /* lstat works differently on Linux and Solaris systems. POSIX (see