From 741bc4d232dc8d6187eaa12ea69316cabe4ef6af Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Sat, 2 May 2015 09:32:38 +0200 Subject: [PATCH] libcap-ng: add patch to fix musl build Fixes: http://autobuild.buildroot.org/results/98c/98c296d8bd717f4419fc6010dc9c92df3027a9f0/ Signed-off-by: Thomas Petazzoni --- .../libcap-ng/0001-add-missing-include.patch | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 package/libcap-ng/0001-add-missing-include.patch diff --git a/package/libcap-ng/0001-add-missing-include.patch b/package/libcap-ng/0001-add-missing-include.patch new file mode 100644 index 0000000000..c30c40dc18 --- /dev/null +++ b/package/libcap-ng/0001-add-missing-include.patch @@ -0,0 +1,22 @@ +Add missing include + +This include is needed to get the pid_t definition, at least with the +musl C library. + +Patch inspired from Alpine Linux patch +http://git.alpinelinux.org/cgit/aports/tree/main/libcap-ng/fix-includes.patch. + +Signed-off-by: Thomas Petazzoni + +Index: b/utils/proc-llist.h +=================================================================== +--- a/utils/proc-llist.h ++++ b/utils/proc-llist.h +@@ -26,6 +26,7 @@ + + #include "config.h" + ++#include + + /* This is the node of the linked list. Any data elements that are per + * record goes here. */ -- 2.30.2