aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/fuse.h4
-rw-r--r--test/test_setattr.c3
-rw-r--r--test/test_write_cache.c3
3 files changed, 9 insertions, 1 deletions
diff --git a/include/fuse.h b/include/fuse.h
index 2fc1b6f..dbfa439 100644
--- a/include/fuse.h
+++ b/include/fuse.h
@@ -1013,7 +1013,9 @@ struct fuse *_fuse_new(struct fuse_args *args,
#if FUSE_USE_VERSION == 30
struct fuse *_fuse_new_30(struct fuse_args *args,
const struct fuse_operations *op,
- size_t op_size, void *user_data);
+ size_t op_size,
+ struct libfuse_version *version,
+ void *user_data);
static inline struct fuse *
fuse_new(struct fuse_args *args,
const struct fuse_operations *op, size_t op_size,
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>