summaryrefslogtreecommitdiff
path: root/lib/faccessat.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2012-10-14 22:22:19 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2012-10-14 22:53:57 -0700
commitf62a2da1390a78aebe7dcbc5753ba7a2b34cf1fd (patch)
tree6bd6a6b7eea2b5e803c9178a7e22baf25f44efb0 /lib/faccessat.c
parent573dad2ce496fa87dac2e79f37bae62e0be1d2c6 (diff)
downloadgnulib-f62a2da1390a78aebe7dcbc5753ba7a2b34cf1fd.tar.gz
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.
Diffstat (limited to 'lib/faccessat.c')
-rw-r--r--lib/faccessat.c1
1 files changed, 1 insertions, 0 deletions
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 <config.h>
#include <unistd.h>
+#include <fcntl.h>
#ifndef HAVE_ACCESS
/* Mingw lacks access, but it also lacks real vs. effective ids, so