blob: 96cbb1ec62fd5ceb4d84d34b64112d0a976d2468 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
--- a/libfuse-lite/fusermount.c
+++ b/libfuse-lite/fusermount.c
@@ -37,6 +37,10 @@
#define FUSE_DEV_NEW "/dev/fuse"
+#ifndef _PATH_MOUNTED
+#define _PATH_MOUNTED "/proc/mounts"
+#endif
+
#ifndef MS_DIRSYNC
#define MS_DIRSYNC 128
#endif
--- a/libfuse-lite/mount_util.c
+++ b/libfuse-lite/mount_util.c
@@ -264,6 +264,10 @@ int fuse_mnt_check_fuseblk(void)
#else /* __SOLARIS__ */
+#ifndef _PATH_MOUNTED
+#define _PATH_MOUNTED "/proc/mounts"
+#endif /* _PATH_MOUNTED */
+
static int mtab_needs_update(const char *mnt)
{
int res;
|