summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dir.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dir.c b/dir.c
index 23aa62d..a72b9ae 100644
--- a/dir.c
+++ b/dir.c
@@ -21,6 +21,7 @@
#include <fcntl.h>
#include <stdbool.h>
#include <stdlib.h>
+#include <sys/stat.h>
#include <unistd.h>
enum bfs_type bfs_mode_to_type(mode_t mode) {