X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fxstat.in;h=3f10ef3b93ccbbc711c35587c3c92e59044add93;hb=9d5abcc106db6e9c3e4dc71ad859265c54bb4d60;hp=4a22dcc8eb6a1614f43d01f215e6b80f8403126c;hpb=5088df71e13ae02444c14a9b9ca15bf1cf324ef5;p=gnulib.git diff --git a/lib/xstat.in b/lib/xstat.in index 4a22dcc8e..3f10ef3b9 100644 --- a/lib/xstat.in +++ b/lib/xstat.in @@ -43,9 +43,16 @@ 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 +/* lstat works differently on Linux and Solaris systems. POSIX (see `pathname resolution' in the glossary) requires that programs like `ls' take into consideration the fact that FILE has a trailing slash when FILE is a symbolic link. On Linux systems, the lstat function already