summaryrefslogtreecommitdiffstats
path: root/libs/libcap/patches/100-portability.patch
blob: 735a97396b7f9bae92d37bd743e43d0af30fcccb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- a/libcap/_makenames.c
+++ b/libcap/_makenames.c
@@ -7,7 +7,6 @@
 
 #include <stdio.h>
 #include <stdlib.h>
-#include <sys/capability.h>
 
 /*
  * #include 'sed' generated array
@@ -22,7 +21,7 @@ struct {
 };
 
 /* this should be more than big enough (factor of three at least) */
-const char *pointers[8*sizeof(struct __user_cap_data_struct)];
+const char *pointers[8*12];
 
 int main(void)
 {