diff --git a/tests/Gtest-bt.c b/tests/Gtest-bt.c index fb5b3966..b5f4439a 100644 --- a/tests/Gtest-bt.c +++ b/tests/Gtest-bt.c @@ -50,7 +50,7 @@ int num_errors; * cause the signal stack to overflow */ char buf[512], name[256]; unw_cursor_t cursor; -ucontext_t uc; +unw_context_t uc; static void do_backtrace (void) diff --git a/tests/Gtest-trace.c b/tests/Gtest-trace.c index ed34e58d..7488ee6e 100644 --- a/tests/Gtest-trace.c +++ b/tests/Gtest-trace.c @@ -50,7 +50,7 @@ int num_errors; char buf[512], name[256]; void *addresses[3][128]; unw_cursor_t cursor; -ucontext_t uc; +unw_context_t uc; static void do_backtrace (void)