From: Paul Eggert Date: Mon, 15 Oct 2012 05:22:19 +0000 (-0700) Subject: faccessat: port to Solaris 10 X-Git-Tag: v0.1~397 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=f62a2da1390a78aebe7dcbc5753ba7a2b34cf1fd;p=gnulib.git faccessat: port to Solaris 10 * lib/faccessat.c: Include , for AT_EACCESS. Needed on Solaris 10, which doesn't have AT_EACCESS, so we need the Gnulib fcntl.h, which defines it. --- diff --git a/ChangeLog b/ChangeLog index 36334f4b07..e301fb0a25 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2012-10-14 Paul Eggert + + faccessat: port to Solaris 10 + * lib/faccessat.c: Include , 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 canonicalize: fix C89 compilation * lib/canonicalize.c (canonicalize_filename_mode): Swap order of diff --git a/lib/faccessat.c b/lib/faccessat.c index 81fad547be..d11a3efaad 100644 --- a/lib/faccessat.c +++ b/lib/faccessat.c @@ -19,6 +19,7 @@ #include #include +#include #ifndef HAVE_ACCESS /* Mingw lacks access, but it also lacks real vs. effective ids, so