summaryrefslogtreecommitdiff
path: root/lib/xstat.in
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-06-13 09:08:47 +0000
committerJim Meyering <jim@meyering.net>2000-06-13 09:08:47 +0000
commit54e57758aa322ce4bf88c4caefc2aa31afdb7490 (patch)
tree3cc52436498c3152c3b50dbb45bfc4d2d43c231b /lib/xstat.in
parent787e2d6289c5a3ce6b32601dc6790be439e30954 (diff)
downloadcoreutils-54e57758aa322ce4bf88c4caefc2aa31afdb7490.tar.xz
[!HAVE_DECL_FREE]: Declare free in lstat.c.
Diffstat (limited to 'lib/xstat.in')
-rw-r--r--lib/xstat.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/xstat.in b/lib/xstat.in
index 4a22dcc8e..6e357a8d1 100644
--- a/lib/xstat.in
+++ b/lib/xstat.in
@@ -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