summaryrefslogtreecommitdiffstats
path: root/main/libcap-ng/fix-includes.patch
blob: 90388e8117be27484c0c7e46a8da67f74cfcc01d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
diff -ru libcap-ng-0.7.4.orig/src/cap-ng.c libcap-ng-0.7.4/src/cap-ng.c
--- libcap-ng-0.7.4.orig/src/cap-ng.c	2014-04-24 15:41:43.000000000 -0300
+++ libcap-ng-0.7.4/src/cap-ng.c	2015-04-15 08:45:10.783335463 -0300
@@ -34,6 +34,7 @@
 #include <stdarg.h>
 #include <errno.h>
 #include <fcntl.h>
+#include <endian.h>
 #include <byteswap.h>
 #ifdef HAVE_SYSCALL_H
 #include <sys/syscall.h>
diff -ru libcap-ng-0.7.4.orig/utils/proc-llist.h libcap-ng-0.7.4/utils/proc-llist.h
--- libcap-ng-0.7.4.orig/utils/proc-llist.h	2014-04-24 15:41:45.000000000 -0300
+++ libcap-ng-0.7.4/utils/proc-llist.h	2015-04-15 08:44:48.820001003 -0300
@@ -25,7 +25,7 @@
 #define PROC_HEADER
 
 #include "config.h"
-
+#include <sys/types.h>
 
 /* This is the node of the linked list. Any data elements that are per
  *  record goes here. */