summaryrefslogtreecommitdiff
path: root/libbcachefs.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbcachefs.c')
-rw-r--r--libbcachefs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libbcachefs.c b/libbcachefs.c
index 82f131cf..a3b9c30c 100644
--- a/libbcachefs.c
+++ b/libbcachefs.c
@@ -2,6 +2,7 @@
#include <dirent.h>
#include <errno.h>
#include <fcntl.h>
+#include <libgen.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>