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.
This commit is contained in:
Jim Meyering 2006-02-16 23:10:01 +00:00
parent ec2631dee1
commit 1ec610ba19

View File

@ -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"