summaryrefslogtreecommitdiff
path: root/system/libcap-ng/fix-includes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/libcap-ng/fix-includes.patch')
-rw-r--r--system/libcap-ng/fix-includes.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/system/libcap-ng/fix-includes.patch b/system/libcap-ng/fix-includes.patch
new file mode 100644
index 000000000..8fbd984b8
--- /dev/null
+++ b/system/libcap-ng/fix-includes.patch
@@ -0,0 +1,11 @@
+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>