]> git.proxmox.com Git - mirror_lxc.git/commitdiff
define MS_SHARED if needed
authorNatanael Copa <ncopa@alpinelinux.org>
Tue, 25 Dec 2012 09:53:50 +0000 (10:53 +0100)
committerStéphane Graber <stgraber@ubuntu.com>
Tue, 25 Dec 2012 11:58:50 +0000 (12:58 +0100)
Fixes build on uClibc.

Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
src/lxc/conf.c

index 96940b3c8057ede16542d3584b85091ff534b7ae..c82e7591fadbf4a66c275dd5d0b71d1f889e38c7 100644 (file)
@@ -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