More libunwind compilation fixes

This commit is contained in:
Jonathan Schleifer
2015-11-09 20:00:06 +01:00
parent ab1ac5930b
commit 82f5db2e26
3 changed files with 11 additions and 3 deletions
+5 -1
View File
@@ -32,7 +32,11 @@ extern "C" {
#include <sys/types.h>
#include <inttypes.h>
#include <ucontext.h>
#ifndef __HAIKU__
# include <ucontext.h>
#else
# include <signal.h>
#endif
#define UNW_TARGET x86
#define UNW_TARGET_X86 1
+5 -1
View File
@@ -34,7 +34,11 @@ extern "C" {
#include <sys/types.h>
#include <inttypes.h>
#include <ucontext.h>
#ifndef __HAIKU__
# include <ucontext.h>
#else
# include <signal.h>
#endif
#define UNW_TARGET x86_64
#define UNW_TARGET_X86_64 1