[lxc-devel] [PATCH] cgroup: add bdev.h to fix the build error
Qiang Huang
h.huangqiang at huawei.com
Sat Sep 14 08:36:27 UTC 2013
Without this, my box will yell:
cgroup.c: In function ‘lxc_setup_mount_cgroup’:
cgroup.c:1219: error: ‘MS_RELATIME’ undeclared (first use in this
function)
cgroup.c:1219: error: (Each undeclared identifier is reported only once
cgroup.c:1219: error: for each function it appears in.)
Signed-off-by: Qiang Huang <h.huangqiang at huawei.com>
---
src/lxc/cgroup.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/lxc/cgroup.c b/src/lxc/cgroup.c
index 876c60c..9417e77 100644
--- a/src/lxc/cgroup.c
+++ b/src/lxc/cgroup.c
@@ -44,6 +44,7 @@
#include "list.h"
#include "conf.h"
#include "utils.h"
+#include "bdev.h"
#include <lxc/log.h>
#include <lxc/cgroup.h>
--
1.8.3
More information about the lxc-devel
mailing list