changeset 11977:4f551695bc4c

euidaccess: fix compilation error * lib/euidaccess.c (includes): Add <fcntl.h>, for AT_EACCESS. Signed-off-by: Eric Blake <ebb9@byu.net>
author Eric Blake <ebb9@byu.net>
date Tue, 08 Sep 2009 13:06:02 -0600
parents b1f37dbb89ba
children e14497f7747c
files ChangeLog lib/euidaccess.c
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2009-09-08  Eric Blake  <ebb9@byu.net>
 
+	euidaccess: fix compilation error
+	* lib/euidaccess.c (includes): Add <fcntl.h>, for AT_EACCESS.
+
 	rawmemchr: relax license
 	* modules/rawmemchr (License): Derived from glibc, so LGPLv2+ is
 	okay.
--- a/lib/euidaccess.c
+++ b/lib/euidaccess.c
@@ -25,6 +25,7 @@
 # include <config.h>
 #endif
 
+#include <fcntl.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <unistd.h>