From: Eric Blake Date: Fri, 4 Sep 2009 04:34:10 +0000 (-0600) Subject: fts: fix compilation error X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2847b62110d877f18a65bbbb91d406e064fefff2;p=pspp fts: fix compilation error * lib/fts.c (includes): Re-add "openat.h", for openat_needs_fchdir. Signed-off-by: Eric Blake --- diff --git a/ChangeLog b/ChangeLog index 02e06bde6d..07fd1fe1ad 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2009-09-03 Eric Blake + fts: fix compilation error + * lib/fts.c (includes): Re-add "openat.h", for + openat_needs_fchdir. + faccessat: new module * modules/faccessat: New file. * lib/faccessat.m4: Likewise. diff --git a/lib/fts.c b/lib/fts.c index c05eb8b68e..2893e66959 100644 --- a/lib/fts.c +++ b/lib/fts.c @@ -74,6 +74,7 @@ static char sccsid[] = "@(#)fts.c 8.6 (Berkeley) 8/14/94"; /* FIXME - use fcntl(F_DUPFD_CLOEXEC)/openat(O_CLOEXEC) once they are supported. */ # include "cloexec.h" +# include "openat.h" # include "same-inode.h" #endif