fts: fix compilation error
authorEric Blake <ebb9@byu.net>
Fri, 4 Sep 2009 04:34:10 +0000 (22:34 -0600)
committerEric Blake <ebb9@byu.net>
Fri, 4 Sep 2009 04:34:10 +0000 (22:34 -0600)
* lib/fts.c (includes): Re-add "openat.h", for
openat_needs_fchdir.

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
lib/fts.c

index 02e06bd..07fd1fe 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2009-09-03  Eric Blake  <ebb9@byu.net>
 
+       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.
index c05eb8b..2893e66 100644 (file)
--- 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