diff --git a/packages/react-native-test-library/ios/RCTSampleNativeComponentViewManager.mm b/packages/react-native-test-library/ios/RCTSampleNativeComponentViewManager.mm index ffe7c6c9e01..80981260209 100644 --- a/packages/react-native-test-library/ios/RCTSampleNativeComponentViewManager.mm +++ b/packages/react-native-test-library/ios/RCTSampleNativeComponentViewManager.mm @@ -9,6 +9,8 @@ #import #import +#import + static UIColor *UIColorFromHexString(const std::string hexString) { unsigned rgbValue = 0; diff --git a/packages/react-native/Libraries/Image/RCTImageURLLoaderWithAttribution.h b/packages/react-native/Libraries/Image/RCTImageURLLoaderWithAttribution.h index 87b59f0843c..59213fa62c9 100644 --- a/packages/react-native/Libraries/Image/RCTImageURLLoaderWithAttribution.h +++ b/packages/react-native/Libraries/Image/RCTImageURLLoaderWithAttribution.h @@ -8,9 +8,10 @@ #import #import #import - // TODO (T61325135): Remove C++ checks #ifdef __cplusplus +#import + namespace facebook::react { struct ImageURLLoaderAttribution { diff --git a/packages/react-native/Libraries/Image/RCTImageUtils.mm b/packages/react-native/Libraries/Image/RCTImageUtils.mm index b7f85f83fc3..af0d12d5d17 100644 --- a/packages/react-native/Libraries/Image/RCTImageUtils.mm +++ b/packages/react-native/Libraries/Image/RCTImageUtils.mm @@ -7,7 +7,7 @@ #import -#import +#import #import #import diff --git a/packages/react-native/React/Base/RCTUtils.h b/packages/react-native/React/Base/RCTUtils.h index d4459badcea..1f3c29b0062 100644 --- a/packages/react-native/React/Base/RCTUtils.h +++ b/packages/react-native/React/Base/RCTUtils.h @@ -5,8 +5,6 @@ * LICENSE file in the root directory of this source tree. */ -#import - #import #import #import