aboutsummaryrefslogtreecommitdiffstats
path: root/main/fuse/fix-includes.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-09-30 17:30:20 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-09-30 17:30:20 +0000
commitb547d11b1c06980711796c4257e83a5c8283d36d (patch)
treef8efacca1868cc2cd3276dc85b9c24310ed4a0dc /main/fuse/fix-includes.patch
parentb5e4091e9566c9db3208d6f56ec49f42a645a8cf (diff)
downloadaports-b547d11b1c06980711796c4257e83a5c8283d36d.tar.bz2
aports-b547d11b1c06980711796c4257e83a5c8283d36d.tar.xz
main/fuse: fix musl build
Diffstat (limited to 'main/fuse/fix-includes.patch')
-rw-r--r--main/fuse/fix-includes.patch50
1 files changed, 50 insertions, 0 deletions
diff --git a/main/fuse/fix-includes.patch b/main/fuse/fix-includes.patch
new file mode 100644
index 0000000000..4a24a0f5dc
--- /dev/null
+++ b/main/fuse/fix-includes.patch
@@ -0,0 +1,50 @@
+--- fuse-2.9.3.orig/lib/fuse.c
++++ fuse-2.9.3/lib/fuse.c
+@@ -35,6 +35,7 @@
+ #include <poll.h>
+ #include <sys/param.h>
+ #include <sys/uio.h>
++#include <sys/file.h>
+ #include <sys/time.h>
+ #include <sys/mman.h>
+
+--- fuse-2.9.3.orig/lib/fuse_lowlevel.c
++++ fuse-2.9.3/lib/fuse_lowlevel.c
+@@ -24,6 +24,7 @@
+ #include <limits.h>
+ #include <errno.h>
+ #include <assert.h>
++#include <sys/file.h>
+
+ #ifndef F_LINUX_SPECIFIC_BASE
+ #define F_LINUX_SPECIFIC_BASE 1024
+--- fuse-2.9.3.orig/lib/mount_util.c
++++ fuse-2.9.3/lib/mount_util.c
+@@ -15,6 +15,7 @@
+ #include <dirent.h>
+ #include <errno.h>
+ #include <fcntl.h>
++#include <paths.h>
+ #include <limits.h>
+ #ifndef __NetBSD__
+ #include <mntent.h>
+--- fuse-2.9.3.orig/util/fusermount.c
++++ fuse-2.9.3/util/fusermount.c
+@@ -19,6 +19,7 @@
+ #include <getopt.h>
+ #include <errno.h>
+ #include <fcntl.h>
++#include <paths.h>
+ #include <pwd.h>
+ #include <mntent.h>
+ #include <sys/wait.h>
+--- fuse-2.9.3.orig/util/mount_util.c
++++ fuse-2.9.3/util/mount_util.c
+@@ -15,6 +15,7 @@
+ #include <dirent.h>
+ #include <errno.h>
+ #include <fcntl.h>
++#include <paths.h>
+ #include <limits.h>
+ #ifndef __NetBSD__
+ #include <mntent.h>