[lxc-devel] [PATCH] define MS_SHARED if needed

Natanael Copa ncopa at alpinelinux.org
Tue Dec 25 09:53:50 UTC 2012


Fixes build on uClibc.

Signed-off-by: Natanael Copa <ncopa at alpinelinux.org>
---
 src/lxc/conf.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/lxc/conf.c b/src/lxc/conf.c
index 96940b3..c82e759 100644
--- a/src/lxc/conf.c
+++ b/src/lxc/conf.c
@@ -87,6 +87,10 @@ lxc_log_define(lxc_conf, lxc);
 #define MNT_DETACH 2
 #endif
 
+#ifndef MS_SLAVE
+#define MS_SLAVE (1<<19)
+#endif
+
 #ifndef MS_RELATIME
 #define MS_RELATIME (1 << 21)
 #endif
-- 
1.8.0.2





More information about the lxc-devel mailing list