1 From da021ed297ff7a69f3b7532ef68a9b6877a55265 Mon Sep 17 00:00:00 2001
2 From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3 Date: Sat, 20 Aug 2016 11:05:27 +0200
4 Subject: [PATCH] libfuse-util: include <paths.h> when needed
6 Both fusermount.c and mount_util.c use _PATH_MOUNTED, so they should
7 include <paths.h>, which provides this definition.
9 This fixes the build with the musl C library.
11 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
13 libfuse-lite/fusermount.c | 1 +
14 libfuse-lite/mount_util.c | 1 +
15 2 files changed, 2 insertions(+)
17 diff --git a/libfuse-lite/fusermount.c b/libfuse-lite/fusermount.c
18 index 4e724db..680fee1 100644
19 --- a/libfuse-lite/fusermount.c
20 +++ b/libfuse-lite/fusermount.c
28 #include <sys/mnttab.h>
29 diff --git a/libfuse-lite/mount_util.c b/libfuse-lite/mount_util.c
30 index 8ea5e08..8b31722 100644
31 --- a/libfuse-lite/mount_util.c
32 +++ b/libfuse-lite/mount_util.c