Browse Source

Fix compilation on ARM

size_t i is needed if HAVE_EXECINFO_H is defined
tags/v1.9.14^2
Guido Aulisi Filipe Coelho <falktx@falktx.com> 5 years ago
parent
commit
5286020560
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      dbus/sigsegv.c

+ 1
- 1
dbus/sigsegv.c View File

@@ -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)


Loading…
Cancel
Save