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 02e06bde6de565638415dc36aa77a9802053334d..07fd1fe1ad6bd812174bfeae64554aa4271c9092 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 c05eb8b68e1ca9410e8024389d404446a26aff34..2893e6695961b1f0fbcfb2b35ed6691684da0c33 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