From 693103e0374fa0724613f209ef17ee9b381aa27e Mon Sep 17 00:00:00 2001 From: Saad Najmi Date: Mon, 6 Apr 2026 21:58:39 -0700 Subject: [PATCH] Add missing and includes to HostPlatformColor.h HostPlatformColor.h uses std::string (in ColorWithSystemEffect and createSemanticColor) and std::vector but did not include the corresponding headers, causing build failures when this header is included before any other header that transitively pulls them in. Co-Authored-By: Claude Opus 4.6 (1M context) --- .../platform/ios/react/renderer/graphics/HostPlatformColor.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/react-native/ReactCommon/react/renderer/graphics/platform/ios/react/renderer/graphics/HostPlatformColor.h b/packages/react-native/ReactCommon/react/renderer/graphics/platform/ios/react/renderer/graphics/HostPlatformColor.h index bd8720e66709..3703f8b76cfb 100644 --- a/packages/react-native/ReactCommon/react/renderer/graphics/platform/ios/react/renderer/graphics/HostPlatformColor.h +++ b/packages/react-native/ReactCommon/react/renderer/graphics/platform/ios/react/renderer/graphics/HostPlatformColor.h @@ -10,6 +10,8 @@ #include #include #include +#include +#include namespace facebook::react {