From 827db0a88b646e0c6b38ff5ebffb9ce0da385b08 Mon Sep 17 00:00:00 2001 From: Danny Su Date: Fri, 14 Mar 2025 11:08:25 -0700 Subject: [PATCH] Explicitly include hermes.h in RCTHostTests.mm (#50022) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/50022 RCTHostTests.mm calls `makeHermesRuntime`, which is from `hermes.h`. Explicitly include the header so that RCTHostTests isn't getting it indirectly. Changelog: [Internal] Reviewed By: javache Differential Revision: D71146426 fbshipit-source-id: 5a5f5a466e1920797c4531773ca23f53eb1203b7 --- .../ReactCommon/react/runtime/iostests/RCTHostTests.mm | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/react-native/ReactCommon/react/runtime/iostests/RCTHostTests.mm b/packages/react-native/ReactCommon/react/runtime/iostests/RCTHostTests.mm index 2b007f02fdd..c4c761902b1 100644 --- a/packages/react-native/ReactCommon/react/runtime/iostests/RCTHostTests.mm +++ b/packages/react-native/ReactCommon/react/runtime/iostests/RCTHostTests.mm @@ -15,6 +15,7 @@ #import #import #import +#import #import