diff options
author | Denys Vlasenko | 2016-03-28 22:23:33 +0200 |
---|---|---|
committer | Denys Vlasenko | 2016-03-28 22:23:33 +0200 |
commit | 31c984dd6904a11b655879b3ad927bd9bf639192 (patch) | |
tree | da8450fd309d9153efbc537480a5e22cfdf9b7ea /util-linux | |
parent | 2fb63292f7083fb259a3f8d8ee70ef8acdaed626 (diff) | |
download | busybox-31c984dd6904a11b655879b3ad927bd9bf639192.zip busybox-31c984dd6904a11b655879b3ad927bd9bf639192.tar.gz |
umount: build fix for older glibc
Based on a patch by Veli-Pekka Peltola <veli-pekka.peltola@ray.fi>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux')
-rw-r--r-- | util-linux/umount.c | 3 |
1 files changed, 3 insertions, 0 deletions
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__) |