aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAmir Goldstein <amir73il@gmail.com>2025-01-01 18:16:43 +0100
committerBernd Schubert <bernd@bsbernd.com>2025-01-03 00:30:17 +0100
commitaca2557ba40c81c10244a06f29e364a3ece429b6 (patch)
treeabdcc6372ac77c2fb7c5b2665cdab7a2d4f941d8 /test
parent9eb6d6236e523587ad2db5e4a679e929d422e6a9 (diff)
downloadlibfuse-aca2557ba40c81c10244a06f29e364a3ece429b6.tar.gz
Fix libfuse build with FUSE_USE_VERSION 30
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Diffstat (limited to 'test')
-rw-r--r--test/test_setattr.c3
-rw-r--r--test/test_write_cache.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/test/test_setattr.c b/test/test_setattr.c
index 8575203..ac55264 100644
--- a/test/test_setattr.c
+++ b/test/test_setattr.c
@@ -9,6 +9,9 @@
#define FUSE_USE_VERSION 30
+/* Not really needed - just to test build with FUSE_USE_VERSION == 30 */
+#include <fuse.h>
+
#include <fuse_config.h>
#include <fuse_lowlevel.h>
#include <stdio.h>
diff --git a/test/test_write_cache.c b/test/test_write_cache.c
index d3c7af0..0c8fa7e 100644
--- a/test/test_write_cache.c
+++ b/test/test_write_cache.c
@@ -9,6 +9,9 @@
#define FUSE_USE_VERSION 30
+/* Not really needed - just to test build with FUSE_USE_VERSION == 30 */
+#include <fuse.h>
+
#include <fuse_config.h>
#include <fuse_lowlevel.h>
#include <stdio.h>