diff --git a/librz/debug/p/native/xnu/xnu_debug.h b/librz/debug/p/native/xnu/xnu_debug.h index d5a3a8a008..545a179e2b 100644 --- a/librz/debug/p/native/xnu/xnu_debug.h +++ b/librz/debug/p/native/xnu/xnu_debug.h @@ -42,8 +42,9 @@ #define PT_FIRSTMACH 32 /* for machine-specific requests */ int ptrace(int _request, pid_t _pid, caddr_t _addr, int _data); #else +#include #include -#if !__POWERPC__ +#if MAC_OS_X_VERSION_MIN_REQUIRED >= 1050 #include #include #define HAS_LIBPROC