0001-sentry.h-include-ucontext.h.patch 696 B

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