From 8586a890cf4853049c7859bee739b280df494eb5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Graber?= Date: Wed, 3 Jun 2015 15:07:08 -0400 Subject: [PATCH] Define MS_REC and MS_SLAVE for Android in bdev.c MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Graber --- src/lxc/bdev.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/lxc/bdev.c b/src/lxc/bdev.c index 29f4f21e0..5b22248df 100644 --- a/src/lxc/bdev.c +++ b/src/lxc/bdev.c @@ -62,6 +62,14 @@ #define LO_FLAGS_AUTOCLEAR 4 #endif +#ifndef MS_REC +#define MS_REC 16384 +#endif + +#ifndef MS_SLAVE +#define MS_SLAVE (1<<19) +#endif + #define DEFAULT_FS_SIZE 1073741824 #define DEFAULT_FSTYPE "ext3" -- 2.47.3