xref: /OK3568_Linux_fs/buildroot/package/sentry-native/0001-sentry.h-include-ucontext.h.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1From 6a3b7b28f34c91c72d8b849903d93de2997b82f1 Mon Sep 17 00:00:00 2001
2From: Joseph Kogut <joseph.kogut@gmail.com>
3Date: Tue, 8 Sep 2020 11:40:01 -0700
4Subject: [PATCH] sentry.h: include ucontext.h
5
6This is included by signal.h in newer versions of glibc, but results
7in an unknown type name error in older versions.
8
9Signed-off-by: Joseph Kogut <joseph.kogut@gmail.com>
10---
11 include/sentry.h | 1 +
12 1 file changed, 1 insertion(+)
13
14diff --git a/include/sentry.h b/include/sentry.h
15index 25754d9..a55cc00 100644
16--- a/include/sentry.h
17+++ b/include/sentry.h
18@@ -78,6 +78,7 @@ extern "C" {
19 #    include <wtypes.h>
20 #else
21 #    include <signal.h>
22+#    include <ucontext.h>
23 #endif
24
25 /**
26--
272.28.0
28