From 4a61f87c511223a894fb53d97b0282d68f4da45e Mon Sep 17 00:00:00 2001 From: Andre Nathan Date: Thu, 16 Jan 2014 16:44:23 -0200 Subject: [PATCH] Define missing constants LXC_CLONE_KEEPBDEVTYPE and LXC_CLONE_MAYBE_SNAPSHOT --- ext/lxc/lxc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ext/lxc/lxc.c b/ext/lxc/lxc.c index 1551dfa..8f88c19 100644 --- a/ext/lxc/lxc.c +++ b/ext/lxc/lxc.c @@ -1726,8 +1726,10 @@ Init_lxc(void) LXC_CONTAINER_CONST(LXC_ATTACH_SET_PERSONALITY); /* clone: clone flags */ + LXC_CONTAINER_CONST(LXC_CLONE_KEEPBDEVTYPE); LXC_CONTAINER_CONST(LXC_CLONE_KEEPMACADDR); LXC_CONTAINER_CONST(LXC_CLONE_KEEPNAME); + LXC_CONTAINER_CONST(LXC_CLONE_MAYBE_SNAPSHOT); LXC_CONTAINER_CONST(LXC_CLONE_SNAPSHOT); /* create: create flags */