summaryrefslogtreecommitdiff
path: root/file/file.h
diff options
context:
space:
mode:
Diffstat (limited to 'file/file.h')
-rw-r--r--file/file.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/file/file.h b/file/file.h
index ff7ea65..d4aa7f7 100644
--- a/file/file.h
+++ b/file/file.h
@@ -15,6 +15,7 @@
#include <stdbool.h>
#include <stdio.h>
+#include <time.h>
struct file {
@@ -22,6 +23,7 @@ struct file {
void *vcs; /* VCS descriptor or NULL */
const char *name; /* name/designator given to file_open */
unsigned lineno;
+ time_t mtime; /* modification time */
const struct file *related; /* NULL if not related to anything */
};