* lib/faccessat.c: Include <fcntl.h>, for AT_EACCESS. Needed on Solaris 10, which doesn't have AT_EACCESS, so we need the Gnulib fcntl.h, which defines it. --- ChangeLog | 7 +++++++ lib/faccessat.c | 1 + 2 files changed, 8 insertions(+)
diff --git a/ChangeLog b/ChangeLog index 36334f4..e301fb0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2012-10-14 Paul Eggert <egg...@cs.ucla.edu> + + faccessat: port to Solaris 10 + * lib/faccessat.c: Include <fcntl.h>, for AT_EACCESS. + Needed on Solaris 10, which doesn't have AT_EACCESS, + so we need the Gnulib fcntl.h, which defines it. + 2012-10-14 Pádraig Brady <p...@draigbrady.com> canonicalize: fix C89 compilation * lib/canonicalize.c (canonicalize_filename_mode): Swap order of diff --git a/lib/faccessat.c b/lib/faccessat.c index 81fad54..d11a3ef 100644 --- a/lib/faccessat.c +++ b/lib/faccessat.c @@ -19,6 +19,7 @@ #include <config.h> #include <unistd.h> +#include <fcntl.h> #ifndef HAVE_ACCESS /* Mingw lacks access, but it also lacks real vs. effective ids, so -- 1.7.11.7