fuse-include.patch (1795B)
1 diff -uri fuse-2.9.3/util/fusermount.c fuse-2.9.3/util/fusermount.c 2 --- fuse-2.9.3/util/fusermount.c 2013-07-01 09:25:36.000000000 +0200 3 +++ fuse-2.9.3/util/fusermount.c 2014-05-31 16:10:12.430449090 +0200 4 @@ -21,6 +21,7 @@ 5 #include <fcntl.h> 6 #include <pwd.h> 7 #include <mntent.h> 8 +#include <paths.h> 9 #include <sys/wait.h> 10 #include <sys/stat.h> 11 #include <sys/mount.h> 12 diff -uri fuse-2.9.3/util/mount_util.c fuse-2.9.3/util/mount_util.c 13 --- fuse-2.9.3/util/mount_util.c 2013-07-01 10:02:18.000000000 +0200 14 +++ fuse-2.9.3/util/mount_util.c 2014-05-31 16:11:53.383444957 +0200 15 @@ -19,6 +19,7 @@ 16 #ifndef __NetBSD__ 17 #include <mntent.h> 18 #endif 19 +#include <paths.h> 20 #include <sys/stat.h> 21 #include <sys/wait.h> 22 #include <sys/mount.h> 23 diff -uri fuse-2.9.3/lib/fuse.c fuse-2.9.3/lib/fuse.c 24 --- fuse-2.9.3/lib/fuse.c 2013-07-01 09:40:39.000000000 +0200 25 +++ fuse-2.9.3/lib/fuse.c 2014-05-31 15:36:49.281531093 +0200 26 @@ -37,6 +37,7 @@ 27 #include <sys/uio.h> 28 #include <sys/time.h> 29 #include <sys/mman.h> 30 +#include <sys/file.h> 31 32 #define FUSE_NODE_SLAB 1 33 34 diff -uri fuse-2.9.3/lib/fuse_lowlevel.c fuse-2.9.3/lib/fuse_lowlevel.c 35 --- fuse-2.9.3/lib/fuse_lowlevel.c 2013-07-01 09:40:39.000000000 +0200 36 +++ fuse-2.9.3/lib/fuse_lowlevel.c 2014-05-31 15:36:49.283531093 +0200 37 @@ -24,6 +24,7 @@ 38 #include <limits.h> 39 #include <errno.h> 40 #include <assert.h> 41 +#include <sys/file.h> 42 43 #ifndef F_LINUX_SPECIFIC_BASE 44 #define F_LINUX_SPECIFIC_BASE 1024 45 diff -uri fuse-2.9.3/lib/mount_util.c fuse-2.9.3/lib/mount_util.c 46 --- fuse-2.9.3/lib/mount_util.c 2013-07-01 09:25:36.000000000 +0200 47 +++ fuse-2.9.3/lib/mount_util.c 2014-05-31 15:36:49.284531093 +0200 48 @@ -16,6 +16,7 @@ 49 #include <errno.h> 50 #include <fcntl.h> 51 #include <limits.h> 52 +#include <paths.h> 53 #ifndef __NetBSD__ 54 #include <mntent.h> 55 #endif