summaryrefslogtreecommitdiffstats
path: root/src/dir.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2022-11-06 16:22:57 -0500
committerTavian Barnes <tavianator@tavianator.com>2022-11-06 16:37:14 -0500
commit096884c4fe1fb922eab2797d4583ca2ae8ae2600 (patch)
tree850e214301a5fd94b7f2a3e94bd90a390739581f /src/dir.c
parent46387a7dcda93e7df9f5baa3ead753c0feeff122 (diff)
downloadbfs-096884c4fe1fb922eab2797d4583ca2ae8ae2600.tar.xz
config: Split out some of util.h into a new header
Diffstat (limited to 'src/dir.c')
-rw-r--r--src/dir.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dir.c b/src/dir.c
index 6d4a325..1cd2d2c 100644
--- a/src/dir.c
+++ b/src/dir.c
@@ -15,6 +15,7 @@
****************************************************************************/
#include "dir.h"
+#include "config.h"
#include "util.h"
#include <dirent.h>
#include <errno.h>
@@ -27,7 +28,7 @@
#if __linux__
# include <sys/syscall.h>
-#endif // __linux__
+#endif
enum bfs_type bfs_mode_to_type(mode_t mode) {
switch (mode & S_IFMT) {