summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/eglibc/eglibc-2.16/add_resource_h_to_wait_h.patch
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2012-07-25 14:34:27 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-28 09:20:50 +0100
commit456b859203834b34cc57a608ae317bac462abf32 (patch)
tree9ea8cb2a14327100877f432969faa27f861e3ddb /meta/recipes-core/eglibc/eglibc-2.16/add_resource_h_to_wait_h.patch
parentdc6256838d7e48df0be718969a3e398679a0c0ee (diff)
downloadpoky-456b859203834b34cc57a608ae317bac462abf32.tar.gz
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. (From OE-Core rev: 21a57b98ff5091a5563c00093081297a6c586208) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/eglibc/eglibc-2.16/add_resource_h_to_wait_h.patch')
-rw-r--r--meta/recipes-core/eglibc/eglibc-2.16/add_resource_h_to_wait_h.patch20
1 files changed, 20 insertions, 0 deletions
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 @@
1The older versions of perf still require sys/resource.h to be
2present in this header, the newer version of perf in 3.2 and
3beyond directly include sys/resource.h
4
5Upstream-Status: Inapproriate [older kernel/perf specific]
6
7Signed-off-by: Saul Wold <sgw@linux.intel.com>
8
9Index: libc/posix/sys/wait.h
10===================================================================
11--- libc.orig/posix/sys/wait.h
12+++ libc/posix/sys/wait.h
13@@ -28,6 +28,7 @@
14 __BEGIN_DECLS
15
16 #include <signal.h>
17+#include <sys/resource.h>
18
19 /* These macros could also be defined in <stdlib.h>. */
20 #if !defined _STDLIB_H || (!defined __USE_XOPEN && !defined __USE_XOPEN2K8)