(iOS) memmap.c - Fix implicit declarations

This commit is contained in:
Twinaphex 2015-08-22 18:43:54 +02:00
parent e70ccd2a6d
commit e6fa079cd9
1 changed files with 4 additions and 0 deletions

View File

@ -143,6 +143,10 @@ int mprotect(void *addr, size_t len, int prot)
#endif
#if defined(__MACH__) && defined(__arm__)
#include <libkern/OSCacheControl.h>
#endif
int memsync(void *start, void *end)
{
size_t len = (char*)end - (char*)start;