[git commit] umount: build fix for older glibc
Denys Vlasenko
vda.linux at googlemail.com
Mon Mar 28 20:23:33 UTC 2016
commit: https://git.busybox.net/busybox/commit/?id=31c984dd6904a11b655879b3ad927bd9bf639192
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master
Based on a patch by Veli-Pekka Peltola <veli-pekka.peltola at ray.fi>
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
util-linux/umount.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/util-linux/umount.c b/util-linux/umount.c
index 0091097..30bef16 100644
--- a/util-linux/umount.c
+++ b/util-linux/umount.c
@@ -30,6 +30,9 @@
#include <mntent.h>
#include <sys/mount.h>
+#ifndef MNT_DETACH
+# define MNT_DETACH 0x00000002
+#endif
#include "libbb.h"
#if defined(__dietlibc__)
More information about the busybox-cvs
mailing list