termux-packages/packages/busybox/0012-util-linux-mount-no-ad...

13 lines
302 B
Diff

--- a/util-linux/mount.c
+++ b/util-linux/mount.c
@@ -182,6 +182,9 @@
//usage: "Returns 0 for success, number of failed mounts for -a, or errno for one mount."
#include <mntent.h>
+#ifdef __ANDROID__
+#define addmntent(s,m) (1)
+#endif
#if ENABLE_FEATURE_SYSLOG
#include <syslog.h>
#endif