diff --git a/libretro-common/memmap/memmap.c b/libretro-common/memmap/memmap.c index 10f2bb0098..c7f930cf7c 100644 --- a/libretro-common/memmap/memmap.c +++ b/libretro-common/memmap/memmap.c @@ -143,6 +143,10 @@ int mprotect(void *addr, size_t len, int prot) #endif +#if defined(__MACH__) && defined(__arm__) +#include +#endif + int memsync(void *start, void *end) { size_t len = (char*)end - (char*)start;