From 21a57b98ff5091a5563c00093081297a6c586208 Mon Sep 17 00:00:00 2001 From: Saul Wold Date: Wed, 25 Jul 2012 14:34:27 -0700 Subject: eglibc: Add patch to add sys/resource.h to wait.h This is needed for the older kernel perf tools to build correctly, as noted in the patch new perf tools have sys/resource.h included directly. Signed-off-by: Saul Wold --- .../eglibc-2.16/add_resource_h_to_wait_h.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/add_resource_h_to_wait_h.patch (limited to 'meta/recipes-core/eglibc/eglibc-2.16') diff --git a/meta/recipes-core/eglibc/eglibc-2.16/add_resource_h_to_wait_h.patch b/meta/recipes-core/eglibc/eglibc-2.16/add_resource_h_to_wait_h.patch new file mode 100644 index 0000000000..f5023c08d4 --- /dev/null +++ b/meta/recipes-core/eglibc/eglibc-2.16/add_resource_h_to_wait_h.patch @@ -0,0 +1,20 @@ +The older versions of perf still require sys/resource.h to be +present in this header, the newer version of perf in 3.2 and +beyond directly include sys/resource.h + +Upstream-Status: Inapproriate [older kernel/perf specific] + +Signed-off-by: Saul Wold + +Index: libc/posix/sys/wait.h +=================================================================== +--- libc.orig/posix/sys/wait.h ++++ libc/posix/sys/wait.h +@@ -28,6 +28,7 @@ + __BEGIN_DECLS + + #include ++#include + + /* These macros could also be defined in . */ + #if !defined _STDLIB_H || (!defined __USE_XOPEN && !defined __USE_XOPEN2K8) -- cgit 1.2.3-korg