diff --git a/src/core/arm/nce/arm_nce.s b/src/core/arm/nce/arm_nce.s index 58337e7e74..44e0635346 100644 --- a/src/core/arm/nce/arm_nce.s +++ b/src/core/arm/nce/arm_nce.s @@ -71,8 +71,8 @@ _ZN4Core6ArmNce37ReturnToRunCodeByExceptionLevelChangeEiPv: mov x1, #(ReturnToRunCodeByExceptionLevelChangeSignal) #ifdef __APPLE__ /* I can never be happy, why no tkill in mach kernel? Ugh ... */ - /* Signature: 43040 AUE_PTHREADKILL ALL { int __pthread_kill(int thread_port, int sig); } */ - mov x16, #(43040) + /* Signature: 328 AUE_PTHREADKILL ALL { int __pthread_kill(int thread_port, int sig); } */ + mov x16, #(328) #else /* Signature: int tgkill(pid_t tgid, pid_t tid, int sig); */ mov x8, #(__NR_tkill) diff --git a/src/dynarmic/src/dynarmic/common/context.h b/src/dynarmic/src/dynarmic/common/context.h index 1e1e9f3545..0ed4b605e4 100644 --- a/src/dynarmic/src/dynarmic/common/context.h +++ b/src/dynarmic/src/dynarmic/common/context.h @@ -14,6 +14,9 @@ # ifdef __sun__ # include # endif +# ifdef __linux__ +# include +# endif #endif #ifndef MCL_ARCHITECTURE_RISCV