Fix building on OpenBSD due to lack of sys/ucontext.h header.
Patch by brad@comstyle.com. This closes ticket:3917.master
parent
9a0f42905b
commit
9b9383500f
|
@ -81,7 +81,7 @@ AX_CHECK_STRLCAT
|
|||
AX_STACK_PROTECT_CC
|
||||
AX_STACK_PROTECT_CXX
|
||||
|
||||
AC_CHECK_HEADERS(alloca.h)
|
||||
AC_CHECK_HEADERS(alloca.h sys/ucontext.h)
|
||||
|
||||
# Check for gettext
|
||||
AM_GNU_GETTEXT([external])
|
||||
|
|
|
@ -121,7 +121,9 @@ static LONG WINAPI windowsExceptionHandler(PEXCEPTION_POINTERS pExceptionInfo)
|
|||
# include <sys/types.h>
|
||||
# include <sys/stat.h>
|
||||
# include <sys/wait.h>
|
||||
#ifdef HAVE_SYS_UCONTEXT_H
|
||||
# include <sys/ucontext.h>
|
||||
#endif
|
||||
# include <sys/utsname.h>
|
||||
#ifdef WZ_OS_LINUX
|
||||
# include <sys/prctl.h>
|
||||
|
|
Loading…
Reference in New Issue