The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxc/pull/2203

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===
Fixes: #2178

Signed-off-by: Felix Abecassis <fabecas...@nvidia.com>
From 9cd5f7fa1c5170cdc0a07e66aa697d90874e37d2 Mon Sep 17 00:00:00 2001
From: Felix Abecassis <fabecas...@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 <fabecas...@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);
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to