From 31c984dd6904a11b655879b3ad927bd9bf639192 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Mon, 28 Mar 2016 22:23:33 +0200 Subject: [PATCH] umount: build fix for older glibc Based on a patch by Veli-Pekka Peltola Signed-off-by: Denys Vlasenko --- util-linux/umount.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/util-linux/umount.c b/util-linux/umount.c index 00910977d..30bef1686 100644 --- a/util-linux/umount.c +++ b/util-linux/umount.c @@ -30,6 +30,9 @@ #include #include +#ifndef MNT_DETACH +# define MNT_DETACH 0x00000002 +#endif #include "libbb.h" #if defined(__dietlibc__) -- 2.25.1