You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

26 lines
543 B

--- 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;