diff options
author | Amir Goldstein <amir73il@gmail.com> | 2025-01-01 18:16:43 +0100 |
---|---|---|
committer | Bernd Schubert <bernd@bsbernd.com> | 2025-02-10 16:56:45 +0100 |
commit | ada5f158064505f8c1870b0ab046e6f8e45c6475 (patch) | |
tree | abdcc6372ac77c2fb7c5b2665cdab7a2d4f941d8 | |
parent | 8899806d836e45d3fa4b97c1cb30dc2bfee90e91 (diff) | |
download | libfuse-ada5f158064505f8c1870b0ab046e6f8e45c6475.tar.gz |
Fix libfuse build with FUSE_USE_VERSION 30
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
-rw-r--r-- | include/fuse.h | 4 | ||||
-rw-r--r-- | test/test_setattr.c | 3 | ||||
-rw-r--r-- | test/test_write_cache.c | 3 |
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> |