diff options
author | Daniel Thau <danthau@bedrocklinux.org> | 2013-08-26 11:57:16 +0200 |
---|---|---|
committer | Miklos Szeredi <mszeredi@suse.cz> | 2013-08-26 12:01:17 +0200 |
commit | 78bc1108d5537400f7df7f79f1dc27084b53323c (patch) | |
tree | 1a0b4ea08ffdd5f69d61cab7f9c083f101713d42 | |
parent | d44bf3a4ac1ce1b56672ac9ae4a5caa3a8ee6844 (diff) | |
download | fuse-78bc1108d5537400f7df7f79f1dc27084b53323c.tar.gz |
Add missing includes
This allows compiling fuse with musl.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | lib/fuse.c | 1 | ||||
-rw-r--r-- | lib/fuse_lowlevel.c | 1 | ||||
-rw-r--r-- | lib/mount_util.c | 1 | ||||
-rw-r--r-- | util/fusermount.c | 1 |
5 files changed, 9 insertions, 0 deletions
@@ -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 @@ -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 diff --git a/lib/fuse_lowlevel.c b/lib/fuse_lowlevel.c index 01efc6a..8853346 100644 --- a/lib/fuse_lowlevel.c +++ b/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 diff --git a/lib/mount_util.c b/lib/mount_util.c index 3d2f4cd..3cad2e6 100644 --- 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 diff --git a/util/fusermount.c b/util/fusermount.c index b2e87d9..4fc72ed 100644 --- a/util/fusermount.c +++ b/util/fusermount.c @@ -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> |