mirror of
https://github.com/radareorg/radare2.git
synced 2024-10-07 02:23:58 +00:00
Fix build of io.ptrace in openbsd (#18774)
This commit is contained in:
parent
212f2345ba
commit
adbb324eb0
@ -13,7 +13,9 @@ LDFLAGS+=-lm
|
||||
else
|
||||
ifneq (${OSTYPE},linux)
|
||||
LDFLAGS+=-lpthread
|
||||
ifeq (${OSTYPE},freebsd)
|
||||
LDFLAGS+=-ldl
|
||||
endif
|
||||
LDFLAGS+=-lm
|
||||
endif
|
||||
endif
|
||||
|
@ -52,6 +52,10 @@ typedef void * r_ptrace_data_t;
|
||||
#elif __APPLE__
|
||||
typedef int r_ptrace_request_t;
|
||||
typedef int r_ptrace_data_t;
|
||||
#elif __OpenBSD__
|
||||
typedef int r_ptrace_request_t;
|
||||
typedef int r_ptrace_data_t;
|
||||
#define R_PTRACE_NODATA 0
|
||||
#else
|
||||
typedef int r_ptrace_request_t;
|
||||
typedef void *r_ptrace_data_t;
|
||||
|
Loading…
Reference in New Issue
Block a user