From 9cd5f7fa1c5170cdc0a07e66aa697d90874e37d2 Mon Sep 17 00:00:00 2001 From: Felix Abecassis Date: Fri, 2 Mar 2018 22:01:56 -0800 Subject: [PATCH] Add a workaround for a build issue with old versions of libcap Fixes: #2178 Signed-off-by: Felix Abecassis --- src/lxc/caps.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lxc/caps.h b/src/lxc/caps.h index b4c527eec..2b3b1a502 100644 --- a/src/lxc/caps.h +++ b/src/lxc/caps.h @@ -29,6 +29,7 @@ #if HAVE_LIBCAP +#include /* workaround for libcap < 2.17 bug */ #include extern int lxc_caps_down(void);