summaryrefslogtreecommitdiffstats
path: root/dir.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2021-01-28 19:28:28 -0500
committerTavian Barnes <tavianator@tavianator.com>2021-01-28 19:28:28 -0500
commitc451a8b15e8e66ddd0e6fddf2d17555233c284fa (patch)
tree1b340bc95769a433afb1089aa60bae2fbe2c7295 /dir.c
parent6a12472ba33b2d46541f3be11d088a28d69cfe57 (diff)
downloadbfs-c451a8b15e8e66ddd0e6fddf2d17555233c284fa.tar.xz
dir: Add missing #include <sys/stat.h>
Diffstat (limited to 'dir.c')
-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) {