From 9818cae412c5446ec9ec86127c97d7e3822bd459 Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Graber?= Date: Thu, 3 Jan 2013 12:24:09 -0500 Subject: [PATCH] conf.c: Define LO_FLAGS_AUTOCLEAR if it's not MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit LO_FLAGS_AUTOCLEAR isn't defined on bionic, so add an extra ifndef and set it to its usual value if it's not. Signed-off-by: Stéphane Graber Acked-by: Serge E. Hallyn --- src/lxc/conf.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lxc/conf.c b/src/lxc/conf.c index 1c02850a2..ab1c994ab 100644 --- a/src/lxc/conf.c +++ b/src/lxc/conf.c @@ -115,6 +115,10 @@ lxc_log_define(lxc_conf, lxc); #define PR_CAPBSET_DROP 24 #endif +#ifndef LO_FLAGS_AUTOCLEAR +#define LO_FLAGS_AUTOCLEAR 4 +#endif + char *lxchook_names[NUM_LXC_HOOKS] = { "pre-start", "pre-mount", "mount", "start", "post-stop" }; -- 2.47.2