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, 4 insertions, 0 deletions
diff --git a/src/ctx.h b/src/ctx.h
index d32db59..6755d02 100644
--- a/src/ctx.h
+++ b/src/ctx.h
@@ -26,6 +26,7 @@
#include <stdbool.h>
#include <stddef.h>
#include <sys/resource.h>
+#include <time.h>
/**
* Various debugging flags.
@@ -127,6 +128,9 @@ struct bfs_ctx {
rlim_t nofile_soft;
/** The initial RLIMIT_NOFILE hard limit. */
rlim_t nofile_hard;
+
+ /** The current time. */
+ struct timespec now;
};
/**