From: Eric Blake <ebb9@byu.net> Date: Tue, 8 Sep 2009 19:06:02 +0000 (-0600) Subject: euidaccess: fix compilation error X-Git-Tag: v0.1~5510 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=de6322c0e29d91bb9e38471fe020e4986861baa2;p=gnulib.git euidaccess: fix compilation error * lib/euidaccess.c (includes): Add <fcntl.h>, for AT_EACCESS. Signed-off-by: Eric Blake <ebb9@byu.net> --- diff --git a/ChangeLog b/ChangeLog index 9316020ba4..8cf27c0345 100644 --- 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. diff --git a/lib/euidaccess.c b/lib/euidaccess.c index 5ba59b0ef6..dcb6e3a931 100644 --- 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>