diff options
Diffstat (limited to 'meta/recipes-core/glibc/glibc/add_resource_h_to_wait_h.patch')
-rw-r--r-- | meta/recipes-core/glibc/glibc/add_resource_h_to_wait_h.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/meta/recipes-core/glibc/glibc/add_resource_h_to_wait_h.patch b/meta/recipes-core/glibc/glibc/add_resource_h_to_wait_h.patch new file mode 100644 index 0000000000..4559de7bc1 --- /dev/null +++ b/meta/recipes-core/glibc/glibc/add_resource_h_to_wait_h.patch | |||
@@ -0,0 +1,20 @@ | |||
1 | The older versions of perf still require sys/resource.h to be | ||
2 | present in this header, the newer version of perf in 3.2 and | ||
3 | beyond directly include sys/resource.h | ||
4 | |||
5 | Upstream-Status: Inapproriate [older kernel/perf specific] | ||
6 | |||
7 | Signed-off-by: Saul Wold <sgw@linux.intel.com> | ||
8 | |||
9 | Index: git/posix/sys/wait.h | ||
10 | =================================================================== | ||
11 | --- git.orig/posix/sys/wait.h 2014-08-29 10:35:10.432070587 -0700 | ||
12 | +++ git/posix/sys/wait.h 2014-08-29 10:35:10.424070587 -0700 | ||
13 | @@ -27,6 +27,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) | ||