From 2847b62110d877f18a65bbbb91d406e064fefff2 Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Thu, 3 Sep 2009 22:34:10 -0600 Subject: [PATCH] fts: fix compilation error * lib/fts.c (includes): Re-add "openat.h", for openat_needs_fchdir. Signed-off-by: Eric Blake --- ChangeLog | 4 ++++ lib/fts.c | 1 + 2 files changed, 5 insertions(+) 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 -- 2.30.2