aboutsummaryrefslogtreecommitdiff
path: root/block/export/fuse.c
diff options
context:
space:
mode:
Diffstat (limited to 'block/export/fuse.c')
-rw-r--r--block/export/fuse.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/block/export/fuse.c b/block/export/fuse.c
index fc7b07d..2e3bf82 100644
--- a/block/export/fuse.c
+++ b/block/export/fuse.c
@@ -31,6 +31,9 @@
#include <fuse.h>
#include <fuse_lowlevel.h>
+#ifdef __linux__
+#include <linux/fs.h>
+#endif
/* Prevent overly long bounce buffer allocations */
#define FUSE_MAX_BOUNCE_BYTES (MIN(BDRV_REQUEST_MAX_BYTES, 64 * 1024 * 1024))