From 8f397a72ebc82923bd173410e0902c7cd70c7ba0 Mon Sep 17 00:00:00 2001 From: Philipp Hofmann Date: Wed, 8 Feb 2023 09:22:32 +0100 Subject: [PATCH] fix: Add missing atomic import (#2683) Add missing atomic import for SentryProfilingConditionals as for some nightly Swift versions the project didn't compile. Fixes GH-2678 --- CHANGELOG.md | 1 + Sources/Sentry/include/SentrySamplingProfiler.hpp | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 443743e1fdd..e1888be4945 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ - Cleanup AppHangTracking properly when closing SDK (#2671) - Add EXC_BAD_ACCESS subtypes to events (#2667) +- Fix atomic import error for profiling (#2683) ## 8.1.0 diff --git a/Sources/Sentry/include/SentrySamplingProfiler.hpp b/Sources/Sentry/include/SentrySamplingProfiler.hpp index d995d201ae1..0fe36168ad5 100644 --- a/Sources/Sentry/include/SentrySamplingProfiler.hpp +++ b/Sources/Sentry/include/SentrySamplingProfiler.hpp @@ -4,6 +4,7 @@ #if SENTRY_TARGET_PROFILING_SUPPORTED +# include # include # include # include