Skip to content

Commit

Permalink
define MS_SHARED if needed
Browse files Browse the repository at this point in the history
Fixes build on uClibc.

Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
  • Loading branch information
ncopa authored and stgraber committed Dec 25, 2012
1 parent 964fe05 commit 859a6da
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lxc/conf.c
Expand Up @@ -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
Expand Down

0 comments on commit 859a6da

Please sign in to comment.