[lxc-devel] [lxc/master] Add a workaround for a build issue with old versions of libcap
flx42 on Github
lxc-bot at linuxcontainers.org
Sat Mar 3 06:05:32 UTC 2018
A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 371 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20180303/eae8d85b/attachment.bin>
-------------- next part --------------
From 9cd5f7fa1c5170cdc0a07e66aa697d90874e37d2 Mon Sep 17 00:00:00 2001
From: Felix Abecassis <fabecassis at nvidia.com>
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 <fabecassis at nvidia.com>
---
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 <linux/types.h> /* workaround for libcap < 2.17 bug */
#include <sys/capability.h>
extern int lxc_caps_down(void);
More information about the lxc-devel
mailing list