Make header includes match declarations in pc_from_ucontext.m4

With any luck, this will clean up errors where we detect that
REG_{EIP,RIP} is present in autoconf, but when we go to include it,
it isn't there.
This commit is contained in:
Nick Mathewson 2013-11-18 11:34:15 -05:00
parent adf2fa9b49
commit 93c99508d2

View file

@ -21,11 +21,13 @@
#ifdef HAVE_SIGNAL_H #ifdef HAVE_SIGNAL_H
#include <signal.h> #include <signal.h>
#endif #endif
#ifdef HAVE_UCONTEXT_H
#include <ucontext.h> #ifdef HAVE_CYGWIN_SIGNAL_H
#endif #include <cygwin/signal.h>
#ifdef HAVE_SYS_UCONTEXT_H #elif HAVE_SYS_UCONTEXT_H
#include <sys/ucontext.h> #include <sys/ucontext.h>
#elif defined(HAVE_UCONTEXT_H)
#include <ucontext.h>
#endif #endif
#if defined(HAVE_EXECINFO_H) && defined(HAVE_BACKTRACE) && \ #if defined(HAVE_EXECINFO_H) && defined(HAVE_BACKTRACE) && \