changeset 2582:62744591e785

Include <stdlib.h> in lstat, to declare "free".
author Jim Meyering <jim@meyering.net>
date Tue, 13 Jun 2000 09:05:16 +0000
parents 34ebbdf4dda0
children 79729e8c01e1
files lib/xstat.in
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lib/xstat.in
+++ b/lib/xstat.in
@@ -32,6 +32,10 @@
 #endif
 @BEGIN_LSTAT_ONLY@
 
+#if HAVE_STDLIB_H
+# include <stdlib.h>
+#endif
+
 #ifdef STAT_MACROS_BROKEN
 # undef S_ISLNK
 #endif