diff options
author | Jim Meyering <jim@meyering.net> | 2006-02-16 23:10:01 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2006-02-16 23:10:01 +0000 |
commit | 1ec610ba19ae961a3ee114c3f0e9ee64fd8731dd (patch) | |
tree | 129c152cc3790e8ce9f778907e61e258ca2e7a09 /lib | |
parent | ec2631dee1a3819237d7f2dd805243b178ba3555 (diff) | |
download | coreutils-1ec610ba19ae961a3ee114c3f0e9ee64fd8731dd.tar.xz |
Include lstat.h, so that uses of lstat are converted
to uses of rpl_lstat, e.g., on Solaris 9. Otherwise, programs like
du (which now uses the openat-enabled fts and hence fstatat) would
mistakenly fail to dereference a symlink-to-directory specified
with a trailing slash.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/openat.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/openat.c b/lib/openat.c index 764d475ff..eb0eddebb 100644 --- a/lib/openat.c +++ b/lib/openat.c @@ -29,6 +29,7 @@ #include "dirname.h" /* solely for definition of IS_ABSOLUTE_FILE_NAME */ #include "fcntl--.h" +#include "lstat.h" #include "openat-priv.h" #include "save-cwd.h" #include "unistd--.h" |