diff options
author | Daniel Thau <danthau@bedrocklinux.org> | 2013-08-26 11:57:16 +0200 |
---|---|---|
committer | Dan Pasanen <dan.pasanen@gmail.com> | 2015-10-28 20:57:03 -0500 |
commit | 88536d6388e1083298feb23eae4f90a5565fdfee (patch) | |
tree | 039017e363b68b3a15d57977774700eaea60e309 | |
parent | 81b1cc26b41b25afd2d8e09dce1bad4969016066 (diff) | |
download | android_external_fuse-88536d6388e1083298feb23eae4f90a5565fdfee.tar.gz android_external_fuse-88536d6388e1083298feb23eae4f90a5565fdfee.tar.bz2 android_external_fuse-88536d6388e1083298feb23eae4f90a5565fdfee.zip |
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 @@ -36,6 +36,7 @@ #include <sys/uio.h> #include <sys/time.h> #include <sys/mman.h> +#include <sys/file.h> #ifdef USE_MODULES #include <dlfcn.h> diff --git a/lib/fuse_lowlevel.c b/lib/fuse_lowlevel.c index 48501bf..5f223c9 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 080ab3a..ad23d43 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 ed11185..e5c98c7 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> |