# HG changeset patch # User Jim Meyering # Date 960887116 0 # Node ID 62744591e785527e43e643b4ad0382e012251368 # Parent 34ebbdf4dda0b6562fa20cf0259b936331cf3bc7 Include in lstat, to declare "free". diff --git a/lib/xstat.in b/lib/xstat.in --- a/lib/xstat.in +++ b/lib/xstat.in @@ -32,6 +32,10 @@ #endif @BEGIN_LSTAT_ONLY@ +#if HAVE_STDLIB_H +# include +#endif + #ifdef STAT_MACROS_BROKEN # undef S_ISLNK #endif