Fix rpmalloc on ios.

https://github.com/mjansson/rpmalloc/issues/146
This commit is contained in:
Bartosz Taudul 2021-05-30 13:38:29 +02:00
parent f6eb909152
commit 3feb2473a2
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -130,7 +130,9 @@
# include <stdio.h>
# include <stdlib.h>
# if defined(__APPLE__)
# include <mach/mach_vm.h>
# if !TARGET_OS_IPHONE && !TARGET_OS_SIMULATOR
# include <mach/mach_vm.h>
# endif
# include <mach/vm_statistics.h>
# include <pthread.h>
# endif