aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/gperftools/gperftools/0001-Fix-build-failure-for-ppc.patch
blob: 27f855d1e969219e9583aaced4b977596f8a7739 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Subject: Fix build failure for ppc

Upstream-Status: Pending

Fix the following build failure.

  error: 'siginfo_t' does not name a type

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 src/stacktrace_powerpc-linux-inl.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/stacktrace_powerpc-linux-inl.h b/src/stacktrace_powerpc-linux-inl.h
index 5d16fa1..a9bf775 100644
--- a/src/stacktrace_powerpc-linux-inl.h
+++ b/src/stacktrace_powerpc-linux-inl.h
@@ -44,6 +44,7 @@
 
 #include <stdint.h>   // for uintptr_t
 #include <stdlib.h>   // for NULL
+#include <signal.h>   // for siginfo_t
 #include <gperftools/stacktrace.h>
 #include <base/vdso_support.h>
 
-- 
2.8.3