projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
*** empty log message ***
[gnulib.git]
/
lib
/
xstat.in
diff --git
a/lib/xstat.in
b/lib/xstat.in
index
825ae19
..
6e357a8
100644
(file)
--- a/
lib/xstat.in
+++ b/
lib/xstat.in
@@
-32,6
+32,10
@@
extern int errno;
#endif
@BEGIN_LSTAT_ONLY@
#endif
@BEGIN_LSTAT_ONLY@
+#if HAVE_STDLIB_H
+# include <stdlib.h>
+#endif
+
#ifdef STAT_MACROS_BROKEN
# undef S_ISLNK
#endif
#ifdef STAT_MACROS_BROKEN
# undef S_ISLNK
#endif
@@
-39,6
+43,13
@@
extern int errno;
# define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK)
#endif
# 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
char *xmalloc ();
/* lstat works different on Linux and Solaris systems. POSIX (see