mirror of https://github.com/hak5/openwrt-owl.git
fuse: add missing include lines, fixes musl build
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45076owl
parent
262ebee943
commit
5441f56685
|
@ -0,0 +1,20 @@
|
||||||
|
--- 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
|
||||||
|
--- a/include/fuse.h
|
||||||
|
+++ b/include/fuse.h
|
||||||
|
@@ -32,6 +32,7 @@
|
||||||
|
#include <sys/stat.h>
|
||||||
|
#include <sys/statvfs.h>
|
||||||
|
#include <sys/uio.h>
|
||||||
|
+#include <sys/file.h>
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
Loading…
Reference in New Issue