From b36b07bf6b24197b59d12058a7a6249556aa54d7 Mon Sep 17 00:00:00 2001 From: Gleb Linnik Date: Thu, 13 Jun 2024 02:42:08 +0300 Subject: [PATCH] Fix builds on Xcode 16 (#497) --- .../KSCrashRecording/Monitors/KSCrashMonitor_CPPException.cpp | 1 + Sources/KSCrashRecordingCore/KSMach-O.c | 1 + 2 files changed, 2 insertions(+) diff --git a/Sources/KSCrashRecording/Monitors/KSCrashMonitor_CPPException.cpp b/Sources/KSCrashRecording/Monitors/KSCrashMonitor_CPPException.cpp index 62d4a7dbb..6cead02e0 100644 --- a/Sources/KSCrashRecording/Monitors/KSCrashMonitor_CPPException.cpp +++ b/Sources/KSCrashRecording/Monitors/KSCrashMonitor_CPPException.cpp @@ -40,6 +40,7 @@ #include #include #include +#include #define STACKTRACE_BUFFER_LENGTH 30 diff --git a/Sources/KSCrashRecordingCore/KSMach-O.c b/Sources/KSCrashRecordingCore/KSMach-O.c index 0aee67362..06c336efc 100644 --- a/Sources/KSCrashRecordingCore/KSMach-O.c +++ b/Sources/KSCrashRecordingCore/KSMach-O.c @@ -51,6 +51,7 @@ #include #include #include +#include const struct load_command* ksmacho_getCommandByTypeFromHeader(const mach_header_t* header, uint32_t commandType) {