diff options
author | Daniel Rosenberg <drosen@google.com> | 2024-10-03 14:52:22 -0700 |
---|---|---|
committer | Bernd Schubert <bernd.schubert@fastmail.fm> | 2024-10-11 12:55:18 +0200 |
commit | 4007ad9a2186e8683edb7151955f4b815d6746e2 (patch) | |
tree | f3f6e8efe5ade387b112d8ad7d664824b95ea96b /lib | |
parent | c37518ff0bfff308e747a6989fe1a86857629e61 (diff) | |
download | libfuse-4007ad9a2186e8683edb7151955f4b815d6746e2.tar.gz |
ignore mtab on android
Updating the mtab on Android fails due to differences in toybox's mount
command. Setting IGNORE_MTAB avoids that issue.
Signed-off-by: Daniel Rosenberg <drosen@google.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mount_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mount_util.c b/lib/mount_util.c index 02a84ef..089ca45 100644 --- a/lib/mount_util.c +++ b/lib/mount_util.c @@ -21,7 +21,7 @@ #include <fcntl.h> #include <limits.h> #include <paths.h> -#if !defined( __NetBSD__) && !defined(__FreeBSD__) && !defined(__DragonFly__) +#if !defined( __NetBSD__) && !defined(__FreeBSD__) && !defined(__DragonFly__) && !defined(__ANDROID__) #include <mntent.h> #else #define IGNORE_MTAB |