summaryrefslogtreecommitdiff
path: root/lib/fts_.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/fts_.h')
-rw-r--r--lib/fts_.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/fts_.h b/lib/fts_.h
index 7e6a404eda..d5b047412f 100644
--- a/lib/fts_.h
+++ b/lib/fts_.h
@@ -65,6 +65,7 @@
# include <stddef.h>
# include <sys/types.h>
# include <sys/stat.h>
+# include "i-ring.h"
typedef struct {
struct _ftsent *fts_cur; /* current node */
@@ -163,7 +164,12 @@ typedef struct {
but it's not appropriate for programs like du. */
struct cycle_check_state *state;
} fts_cycle;
+
# endif
+ /* A stack of the file descriptors corresponding to the
+ most-recently traversed parent directories.
+ Currently used only in FTS_CWDFD mode. */
+ I_ring fts_fd_ring;
} FTS;
typedef struct _ftsent {