aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Thau <danthau@bedrocklinux.org>2013-08-26 11:57:16 +0200
committerDan Pasanen <dan.pasanen@gmail.com>2015-10-28 20:57:03 -0500
commit88536d6388e1083298feb23eae4f90a5565fdfee (patch)
tree039017e363b68b3a15d57977774700eaea60e309
parent81b1cc26b41b25afd2d8e09dce1bad4969016066 (diff)
downloadandroid_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--ChangeLog5
-rw-r--r--lib/fuse.c1
-rw-r--r--lib/fuse_lowlevel.c1
-rw-r--r--lib/mount_util.c1
-rw-r--r--util/fusermount.c1
5 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 0da1bf7..1b71fd4 100644
--- 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
diff --git a/lib/fuse.c b/lib/fuse.c
index 9bdedec..5f2be03 100644
--- a/lib/fuse.c
+++ b/lib/fuse.c
@@ -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>