summaryrefslogtreecommitdiffstats
path: root/src/ctx.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ctx.h')
-rw-r--r--src/ctx.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ctx.h b/src/ctx.h
index e14db21..b28a63c 100644
--- a/src/ctx.h
+++ b/src/ctx.h
@@ -8,9 +8,9 @@
#ifndef BFS_CTX_H
#define BFS_CTX_H
+#include "prelude.h"
#include "alloc.h"
#include "bftw.h"
-#include "config.h"
#include "diag.h"
#include "expr.h"
#include "trie.h"
@@ -102,6 +102,8 @@ struct bfs_ctx {
struct rlimit orig_nofile;
/** The current RLIMIT_NOFILE limits. */
struct rlimit cur_nofile;
+ /** Whether the fd limit should be raised. */
+ bool raise_nofile;
/** The current time. */
struct timespec now;