Mercurial > hg > octave-nkf > gnulib-hg
changeset 2584:45fb6ee4f28a
[!HAVE_DECL_FREE]: Declare free in lstat.c.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Tue, 13 Jun 2000 09:08:47 +0000 |
parents | 79729e8c01e1 |
children | 621450bc3358 |
files | lib/xstat.in |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/xstat.in +++ b/lib/xstat.in @@ -43,6 +43,13 @@ # 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