changeset 11946:7604970d1a9f

fts: fix compilation error * lib/fts.c (includes): Re-add "openat.h", for openat_needs_fchdir. Signed-off-by: Eric Blake <ebb9@byu.net>
author Eric Blake <ebb9@byu.net>
date Thu, 03 Sep 2009 22:34:10 -0600
parents 2cf208dc022b
children 7f6946558d8c
files ChangeLog lib/fts.c
diffstat 2 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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.
--- a/lib/fts.c
+++ b/lib/fts.c
@@ -74,6 +74,7 @@
 /* FIXME - use fcntl(F_DUPFD_CLOEXEC)/openat(O_CLOEXEC) once they are
    supported.  */
 # include "cloexec.h"
+# include "openat.h"
 # include "same-inode.h"
 #endif