diff options
Diffstat (limited to 'lib/canonicalize.c')
-rw-r--r-- | lib/canonicalize.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/lib/canonicalize.c b/lib/canonicalize.c index c1f5aacbb..f56d80f22 100644 --- a/lib/canonicalize.c +++ b/lib/canonicalize.c @@ -76,18 +76,9 @@ extern int errno; # endif # include "pathmax.h" +# include "stat-macros.h" # include "xreadlink.h" -# ifdef STAT_MACROS_BROKEN -# undef S_ISLNK -# endif - -# ifndef S_ISLNK -# ifdef S_IFLNK -# define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) -# endif -# endif - #endif /* !HAVE_RESOLVEPATH */ /* Return the canonical absolute name of file NAME. A canonical name |