Unverified Commit ea45f04d by Dima Krasner Committed by Stéphane Graber

conf: fix build without libcap

parent 30f1523a
...@@ -127,6 +127,14 @@ lxc_log_define(lxc_conf, lxc); ...@@ -127,6 +127,14 @@ lxc_log_define(lxc_conf, lxc);
#define LO_FLAGS_AUTOCLEAR 4 #define LO_FLAGS_AUTOCLEAR 4
#endif #endif
#ifndef CAP_SETUID
#define CAP_SETUID 7
#endif
#ifndef CAP_SETGID
#define CAP_SETGID 6
#endif
/* needed for cgroup automount checks, regardless of whether we /* needed for cgroup automount checks, regardless of whether we
* have included linux/capability.h or not */ * have included linux/capability.h or not */
#ifndef CAP_SYS_ADMIN #ifndef CAP_SYS_ADMIN
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment