From e6fa079cd91b5f7ecb69a5e93dc297fa3f4254c2 Mon Sep 17 00:00:00 2001 From: Twinaphex Date: Sat, 22 Aug 2015 18:43:54 +0200 Subject: [PATCH] (iOS) memmap.c - Fix implicit declarations --- libretro-common/memmap/memmap.c | 4 ++++ 1 file changed, 4 insertions(+) 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;