aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils/fuse/patches
diff options
context:
space:
mode:
Diffstat (limited to 'package/utils/fuse/patches')
-rw-r--r--package/utils/fuse/patches/100-missing_includes.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/package/utils/fuse/patches/100-missing_includes.patch b/package/utils/fuse/patches/100-missing_includes.patch
new file mode 100644
index 0000000000..0790bffcd1
--- /dev/null
+++ b/package/utils/fuse/patches/100-missing_includes.patch
@@ -0,0 +1,20 @@
+--- a/lib/mount_util.c
++++ b/lib/mount_util.c
+@@ -16,6 +16,7 @@
+ #include <errno.h>
+ #include <fcntl.h>
+ #include <limits.h>
++#include <paths.h>
+ #ifndef __NetBSD__
+ #include <mntent.h>
+ #endif
+--- a/include/fuse.h
++++ b/include/fuse.h
+@@ -32,6 +32,7 @@
+ #include <sys/stat.h>
+ #include <sys/statvfs.h>
+ #include <sys/uio.h>
++#include <sys/file.h>
+
+ #ifdef __cplusplus
+ extern "C" {