More libunwind compilation fixes
This commit is contained in:
@@ -32,7 +32,11 @@ extern "C" {
|
|||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <inttypes.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
|
||||||
#define UNW_TARGET_X86 1
|
#define UNW_TARGET_X86 1
|
||||||
|
|||||||
@@ -34,7 +34,11 @@ extern "C" {
|
|||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <inttypes.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
|
||||||
#define UNW_TARGET_X86_64 1
|
#define UNW_TARGET_X86_64 1
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|||||||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
#include <config.h>
|
#include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user