Add missing includes
authorDaniel Thau <danthau@bedrocklinux.org>
Mon, 26 Aug 2013 09:57:16 +0000 (11:57 +0200)
committerMiklos Szeredi <mszeredi@suse.cz>
Mon, 26 Aug 2013 10:01:17 +0000 (12:01 +0200)
This allows compiling fuse with musl.

ChangeLog
lib/fuse.c
lib/fuse_lowlevel.c
lib/mount_util.c
util/fusermount.c

index 0da1bf7e425ff2a372162a66e97943537a25d510..1b71fd42c4cc1b446108d7677a9c96c20249fb4d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-08-26  Miklos Szeredi <miklos@szeredi.hu>
+
+       * libfuse: Add missing includes.  This allows compiling fuse with
+       musl.  Patch by Daniel Thau
+
 2013-07-01  Miklos Szeredi <miklos@szeredi.hu>
 
        * Released 2.9.3
index 067d0dc3e73c04860fcf1b80321a2749ca518670..cfac238807a31f80abd85c97aa6b455ed9700610 100644 (file)
@@ -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
 
index 01efc6ab1b8a798f30c2134a8b351d148fdd21e3..8853346d5f43968a3e977da88ceeb21d6c645037 100644 (file)
@@ -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
index 3d2f4cd71ae8e8be4d85a0f8f2b0229bf642a8fc..3cad2e6af2b7249a54c990ae2bd98f900785aca0 100644 (file)
@@ -16,6 +16,7 @@
 #include <errno.h>
 #include <fcntl.h>
 #include <limits.h>
+#include <paths.h>
 #ifndef __NetBSD__
 #include <mntent.h>
 #endif
index b2e87d95fb9be2e61fbe24b3908ef85273e91261..4fc72ed3cc9301a8606f8cda0fef2c04bd728394 100644 (file)
@@ -20,6 +20,7 @@
 #include <errno.h>
 #include <fcntl.h>
 #include <pwd.h>
+#include <paths.h>
 #include <mntent.h>
 #include <sys/wait.h>
 #include <sys/stat.h>