faccessat: port to Solaris 10
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 15 Oct 2012 05:22:19 +0000 (22:22 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 15 Oct 2012 05:53:57 +0000 (22:53 -0700)
* 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
lib/faccessat.c

index 36334f4..e301fb0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2012-10-14  Paul Eggert  <eggert@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
index 81fad54..d11a3ef 100644 (file)
@@ -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