summaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/umount.c3
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__)