mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-16 09:01:09 +00:00
Add a workaround for a build issue with old versions of libcap
Fixes: #2178 Signed-off-by: Felix Abecassis <fabecassis@nvidia.com>
This commit is contained in:
parent
844a5c73cf
commit
9cd5f7fa1c
@ -29,6 +29,7 @@
|
|||||||
|
|
||||||
|
|
||||||
#if HAVE_LIBCAP
|
#if HAVE_LIBCAP
|
||||||
|
#include <linux/types.h> /* workaround for libcap < 2.17 bug */
|
||||||
#include <sys/capability.h>
|
#include <sys/capability.h>
|
||||||
|
|
||||||
extern int lxc_caps_down(void);
|
extern int lxc_caps_down(void);
|
||||||
|
Loading…
Reference in New Issue
Block a user