diff --git a/core/linux/posix_vmem.cpp b/core/linux/posix_vmem.cpp index 376c6f47e..6916e3df2 100644 --- a/core/linux/posix_vmem.cpp +++ b/core/linux/posix_vmem.cpp @@ -291,7 +291,9 @@ bool vmem_platform_prepare_jit_block(void *code_area, unsigned size, void **code #if HOST_CPU == CPU_ARM64 +#if defined(__APPLE__) #include +#endif // Code borrowed from Dolphin https://github.com/dolphin-emu/dolphin static void Arm64_CacheFlush(void* start, void* end) {