From b8fadf90dd1b8c36941125f8706529f77832195a Mon Sep 17 00:00:00 2001 From: Alex Lorenz Date: Tue, 9 Jan 2024 01:48:55 -0800 Subject: [PATCH] include to ensure that sentry.h is modularized correctly (#935) --- CHANGELOG.md | 3 ++- include/sentry.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 756bcbc67..fe2a44b61 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,13 +11,14 @@ - Maintain `crashpad` client instance during Native SDK lifecycle. ([#910](https://github.com/getsentry/sentry-native/pull/910)) - Specify correct dependencies for CMake client projects using a system-provided breakpad. ([#926](https://github.com/getsentry/sentry-native/pull/926)) +- Correct the Windows header include used by `sentry.h`, which fixes the build of [Swift bindings](https://github.com/thebrowsercompany/swift-sentry). ([#935](https://github.com/getsentry/sentry-native/pull/935)) **Internal**: - Updated `crashpad` to 2023-11-24. ([#912](https://github.com/getsentry/sentry-native/pull/912), [crashpad#91](https://github.com/getsentry/crashpad/pull/91)) - Fixing `crashpad` build for Windows on ARM64. ([#919](https://github.com/getsentry/sentry-native/pull/919), [crashpad#90](https://github.com/getsentry/crashpad/pull/90), [crashpad#92](https://github.com/getsentry/crashpad/pull/92), [crashpad#93](https://github.com/getsentry/crashpad/pull/93), [crashpad#94](https://github.com/getsentry/crashpad/pull/94)) - Remove options memory leak during consent setting. ([#922](https://github.com/getsentry/sentry-native/pull/922)) - + **Thank you**: Features, fixes and improvements in this release have been contributed by: diff --git a/include/sentry.h b/include/sentry.h index fe9918488..f52f5ae56 100644 --- a/include/sentry.h +++ b/include/sentry.h @@ -90,7 +90,7 @@ extern "C" { /* context type dependencies */ #ifdef _WIN32 -# include +# include #else # include #endif