You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
500 B
14 lines
500 B
diff --git a/dbus/sigsegv.c b/dbus/sigsegv.c
|
|
index de316429..0f135ec0 100644
|
|
--- a/dbus/sigsegv.c
|
|
+++ b/dbus/sigsegv.c
|
|
@@ -64,7 +64,7 @@ static void signal_segv(int signum, siginfo_t* info, void*ptr) {
|
|
const char *si_code_str;
|
|
ucontext_t *ucontext = (ucontext_t*)ptr;
|
|
|
|
-#if defined(HAVE_UCONTEXT) && defined(HAVE_NGREG)
|
|
+#if ( defined(HAVE_UCONTEXT) && defined(HAVE_NGREG) ) || defined(HAVE_EXECINFO_H)
|
|
size_t i;
|
|
#endif
|
|
#if defined(SIGSEGV_STACK_X86) || defined(SIGSEGV_STACK_IA64)
|