summaryrefslogtreecommitdiffstats
path: root/main/libcap/include-order.patch
blob: 88c5fcc6c837b8a34fa6f776daa726eb50fefc79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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