src/lib/hooks_ct.c: fix compiling with old includes
When trying to compile on RHEL5 box, this is what we have:
CC hooks_ct.lo
hooks_ct.c: In function 'ct_env_create':
hooks_ct.c:120: error: 'CLONE_NEWUTS' undeclared (first use in this
function)
hooks_ct.c:120: error: (Each undeclared identifier is reported only once
hooks_ct.c:120: error: for each function it appears in.)
hooks_ct.c:120: error: 'CLONE_NEWPID' undeclared (first use in this
function)
hooks_ct.c:120: error: 'CLONE_NEWIPC' undeclared (first use in this
function)
hooks_ct.c:121: error: 'CLONE_NEWNET' undeclared (first use in this
function)
Fix by adding proper defines
Signed-off-by: Kir Kolyshkin <kir@openvz.org>
1 file changed