Blob Blame History Raw
diff -up lxc-2.0.9/src/lxc/caps.h~ lxc-2.0.9/src/lxc/caps.h
--- lxc-2.0.9/src/lxc/caps.h~	2017-10-19 19:13:25.000000000 +0200
+++ lxc-2.0.9/src/lxc/caps.h	2017-10-20 19:31:11.958292398 +0200
@@ -29,6 +29,7 @@
 
 
 #if HAVE_LIBCAP
+#include <linux/types.h>
 #include <sys/capability.h>
 
 extern int lxc_caps_down(void);
diff -up lxc-2.0.9/src/lxc/conf.c~ lxc-2.0.9/src/lxc/conf.c
--- lxc-2.0.9/src/lxc/conf.c~	2017-10-19 19:13:25.000000000 +0200
+++ lxc-2.0.9/src/lxc/conf.c	2017-10-20 19:31:54.505837167 +0200
@@ -91,6 +91,7 @@
 #include "lsm/lsm.h"
 
 #if HAVE_LIBCAP
+#include <linux/types.h>
 #include <sys/capability.h>
 #endif
 
diff -up lxc-2.0.9/src/lxc/start.c~ lxc-2.0.9/src/lxc/start.c
--- lxc-2.0.9/src/lxc/start.c~	2017-10-19 19:13:25.000000000 +0200
+++ lxc-2.0.9/src/lxc/start.c	2017-10-20 19:32:21.793545209 +0200
@@ -49,6 +49,7 @@
 #include <sys/wait.h>
 
 #if HAVE_LIBCAP
+#include <linux/types.h>
 #include <sys/capability.h>
 #endif