aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDaniel Rosenberg <drosen@google.com>2024-10-03 14:52:22 -0700
committerBernd Schubert <bernd.schubert@fastmail.fm>2024-10-11 12:55:18 +0200
commit4007ad9a2186e8683edb7151955f4b815d6746e2 (patch)
treef3f6e8efe5ade387b112d8ad7d664824b95ea96b /lib
parentc37518ff0bfff308e747a6989fe1a86857629e61 (diff)
downloadlibfuse-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.c2
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