aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/glibc/glibc/add_resource_h_to_wait_h.patch
blob: 4559de7bc158eee4733e84894bf5d0f2aad7c6ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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 <sgw@linux.intel.com>

Index: git/posix/sys/wait.h
===================================================================
--- git.orig/posix/sys/wait.h	2014-08-29 10:35:10.432070587 -0700
+++ git/posix/sys/wait.h	2014-08-29 10:35:10.424070587 -0700
@@ -27,6 +27,7 @@
 __BEGIN_DECLS
 
 #include <signal.h>
+#include <sys/resource.h>
 
 /* These macros could also be defined in <stdlib.h>.  */
 #if !defined _STDLIB_H || (!defined __USE_XOPEN && !defined __USE_XOPEN2K8)