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

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