summaryrefslogtreecommitdiffstats
path: root/main/libcap/include-order.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/libcap/include-order.patch')
-rw-r--r--main/libcap/include-order.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/main/libcap/include-order.patch b/main/libcap/include-order.patch
new file mode 100644
index 000000000..88c5fcc6c
--- /dev/null
+++ b/main/libcap/include-order.patch
@@ -0,0 +1,16 @@
+diff -ur a/progs/capsh.c b/progs/capsh.c
+--- a/progs/capsh.c 2009-07-24 07:14:03.000000000 +0000
++++ b/progs/capsh.c 2009-07-24 07:14:19.000000000 +0000
+@@ -12,11 +12,11 @@
+ #include <stdio.h>
+ #include <string.h>
+ #include <stdlib.h>
++#include <sys/wait.h>
+ #include <sys/prctl.h>
+ #include <sys/capability.h>
+ #include <unistd.h>
+ #include <errno.h>
+-#include <sys/wait.h>
+
+ /* prctl based API for altering character of current process */
+ #define PR_GET_KEEPCAPS 7