From e82309f6550680846309fde4cd60e8abf2d1e7f0 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 13 Jun 2000 09:08:47 +0000 Subject: [PATCH] [!HAVE_DECL_FREE]: Declare free in lstat.c. --- lib/xstat.in | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/xstat.in b/lib/xstat.in index 4a22dcc8eb..6e357a8d1e 100644 --- a/lib/xstat.in +++ b/lib/xstat.in @@ -43,6 +43,13 @@ extern int errno; # define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) #endif +#ifndef HAVE_DECL_FREE +"this configure-time declaration test was not run" +#endif +#if !HAVE_DECL_FREE +void free (); +#endif + char *xmalloc (); /* lstat works different on Linux and Solaris systems. POSIX (see -- 2.30.2