fuse: add missing include lines, fixes musl build
[openwrt/staging/yousong.git] / package / utils / fuse / patches / 100-missing_includes.patch
1 --- a/lib/mount_util.c
2 +++ b/lib/mount_util.c
3 @@ -16,6 +16,7 @@
4 #include <errno.h>
5 #include <fcntl.h>
6 #include <limits.h>
7 +#include <paths.h>
8 #ifndef __NetBSD__
9 #include <mntent.h>
10 #endif
11 --- a/include/fuse.h
12 +++ b/include/fuse.h
13 @@ -32,6 +32,7 @@
14 #include <sys/stat.h>
15 #include <sys/statvfs.h>
16 #include <sys/uio.h>
17 +#include <sys/file.h>
18
19 #ifdef __cplusplus
20 extern "C" {