[!HAVE_DECL_FREE]: Declare free in lstat.c.
authorJim Meyering <jim@meyering.net>
Tue, 13 Jun 2000 09:08:47 +0000 (09:08 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 13 Jun 2000 09:08:47 +0000 (09:08 +0000)
lib/xstat.in

index 4a22dcc..6e357a8 100644 (file)
@@ -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