[!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 4a22dcc8eb6a1614f43d01f215e6b80f8403126c..6e357a8d1eff55065ef0d6e3ed81b42b5689a90e 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