From 02a73ca85653ff4de5c350410a68061426ecf587 Mon Sep 17 00:00:00 2001 From: Kevin VanGelder Date: Tue, 30 May 2023 12:13:12 -0700 Subject: [PATCH] Fix missing `atomic` import (#37621) Summary: Native error: `Declaration of 'atomic_bool' must be imported from module 'std.atomic' before it is required.` ## Changelog: [IOS] [FIXED] - Add missing `atomic` import Pull Request resolved: https://github.com/facebook/react-native/pull/37621 Test Plan: This build error appears to only occur when other build errors occur, but it supersedes the other build errors, increasing the difficulty of debugging the root build error(s). Reviewed By: NickGerleman Differential Revision: D46284208 Pulled By: sammy-SC fbshipit-source-id: b36cb3a9166b1e7cef0121a2e635a191bd7c3a5e --- packages/react-native/React/CxxBridge/RCTMessageThread.h | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/react-native/React/CxxBridge/RCTMessageThread.h b/packages/react-native/React/CxxBridge/RCTMessageThread.h index cbd85025c9f..1232a9e6bc2 100644 --- a/packages/react-native/React/CxxBridge/RCTMessageThread.h +++ b/packages/react-native/React/CxxBridge/RCTMessageThread.h @@ -12,6 +12,7 @@ #import #import +#import namespace facebook::react {