From 0ea4e3f2796685792dfec68b59e096acfbe496a2 Mon Sep 17 00:00:00 2001 From: David Carlier Date: Thu, 7 May 2020 20:09:16 +0100 Subject: [PATCH] IOS build fix, large pages unsupported. --- src/os.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/os.c b/src/os.c index f33cfbc3..53bd39dc 100644 --- a/src/os.c +++ b/src/os.c @@ -26,9 +26,12 @@ terms of the MIT license. A copy of the license can be found in the file #include // linux mmap flags #endif #if defined(__APPLE__) +#include +#if !TARGET_IOS_IPHONE && !TARGET_IOS_SIMULATOR #include #endif #endif +#endif /* ----------------------------------------------------------- Initialization.