1From 71ff6ec2055f486f2fe7578d5b3baeebee747e4d Mon Sep 17 00:00:00 2001
2From: Michael Forney <mforney@mforney.org>
3Date: Wed, 3 Jul 2019 00:52:16 -0700
4Subject: [PATCH] Fix build without symbol versioning
5
6---
7 include/fuse.h | 6 +++++-
8 1 file changed, 5 insertions(+), 1 deletion(-)
9
10diff --git a/include/fuse.h b/include/fuse.h
11index 9e6c633..f584a54 100644
12--- a/include/fuse.h
13+++ b/include/fuse.h
14@@ -922,7 +922,11 @@ void fuse_lib_help(struct fuse_args *args);
15 * `struct fuse_operations.init` handler.
16 * @return the created FUSE handle
17 */
18-#if FUSE_USE_VERSION == 30
19+#if FUSE_USE_VERSION == 31
20+struct fuse *fuse_new_31(struct fuse_args *args, const struct fuse_operations *op,
21+ size_t op_size, void *private_data);
22+#define fuse_new(args, op, size, data) fuse_new_31(args, op, size, data)
23+#elif FUSE_USE_VERSION == 30
24 struct fuse *fuse_new_30(struct fuse_args *args, const struct fuse_operations *op,
25 size_t op_size, void *private_data);
26 #define fuse_new(args, op, size, data) fuse_new_30(args, op, size, data)
27--
282.32.0
29