(iOS) memmap.c - Fix implicit declarations
This commit is contained in:
parent
e70ccd2a6d
commit
e6fa079cd9
|
@ -143,6 +143,10 @@ int mprotect(void *addr, size_t len, int prot)
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(__MACH__) && defined(__arm__)
|
||||||
|
#include <libkern/OSCacheControl.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
int memsync(void *start, void *end)
|
int memsync(void *start, void *end)
|
||||||
{
|
{
|
||||||
size_t len = (char*)end - (char*)start;
|
size_t len = (char*)end - (char*)start;
|
||||||
|
|
Loading…
Reference in New Issue