aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-03-28 10:19:18 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-03-28 10:19:18 +0000
commit5441f566859a350f970d5aad510b950ee6d9f502 (patch)
treebb655296fd525a599ec8807605570a23727a38c5
parent262ebee9430ca2e685626be12793ede81fa773f4 (diff)
downloadupstream-5441f566859a350f970d5aad510b950ee6d9f502.tar.gz
upstream-5441f566859a350f970d5aad510b950ee6d9f502.tar.bz2
upstream-5441f566859a350f970d5aad510b950ee6d9f502.zip
fuse: add missing include lines, fixes musl build
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45076
-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" {