From 025ddee7f352fc4a1df73c3ade1dc30fcd12691b Mon Sep 17 00:00:00 2001 From: Nikolay Volosatov Date: Sat, 17 Aug 2024 11:05:31 +0100 Subject: [PATCH] Fix compilation with Xcode 16 (#542) * Fix compilation with Xcode 16.1 * Oh, it's actually Xcode 16 --- Sources/KSCrashRecordingCore/KSMachineContext.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Sources/KSCrashRecordingCore/KSMachineContext.c b/Sources/KSCrashRecordingCore/KSMachineContext.c index 4ffab2d1..d97a07d1 100644 --- a/Sources/KSCrashRecordingCore/KSMachineContext.c +++ b/Sources/KSCrashRecordingCore/KSMachineContext.c @@ -28,6 +28,10 @@ #include +#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 180000 // Xcode 16.0 +#include +#endif + #include "KSCPU.h" #include "KSCPU_Apple.h" #include "KSMachineContext_Apple.h"