--- fuse-2.9.3/util/mount_util.c	2013-07-01 10:02:18.000000000 +0200
+++ src/util/mount_util.c	2015-09-17 17:57:49.795094581 +0200
@@ -23,6 +23,7 @@
 #include <sys/wait.h>
 #include <sys/mount.h>
 #include <sys/param.h>
+#include <paths.h>
 
 #ifdef __NetBSD__
 #define umount2(mnt, flags) unmount(mnt, (flags == 2) ? MNT_FORCE : 0)
--- fuse-2.9.3/lib/mount_util.c	2013-07-01 09:25:36.000000000 +0200
+++ src/lib/mount_util.c	2015-09-17 17:57:09.402795000 +0200
@@ -23,6 +23,7 @@
 #include <sys/wait.h>
 #include <sys/mount.h>
 #include <sys/param.h>
+#include <paths.h>
 
 #ifdef __NetBSD__
 #define umount2(mnt, flags) unmount(mnt, (flags == 2) ? MNT_FORCE : 0)
--- fuse-2.9.3/lib/fuse.c	2013-07-01 09:40:39.000000000 +0200
+++ src/lib/fuse.c	2015-09-17 17:56:03.010302575 +0200
@@ -37,6 +37,7 @@
 #include <sys/uio.h>
 #include <sys/time.h>
 #include <sys/mman.h>
+#include <sys/file.h>
 
 #define FUSE_NODE_SLAB 1
 
--- fuse-2.9.3/lib/fuse_lowlevel.c	2013-07-01 09:40:39.000000000 +0200
+++ src/lib/fuse_lowlevel.c	2015-09-17 17:57:46.051066811 +0200
@@ -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
