From b3ba340bc3b99c8e4e3b83fe60d3502415cb18b6 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Sun, 17 Dec 2023 00:47:44 -0800 Subject: [PATCH] std::terminate belongs to header (#41917) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/41917 See also https://en.cppreference.com/w/cpp/error/terminate. X-link: https://github.com/facebook/yoga/pull/1511 Reviewed By: christophpurrer Differential Revision: D52072882 Pulled By: NickGerleman fbshipit-source-id: 4d4d442b82d108d1d2ff5d241fbdc8df89045fed --- .../react-native/ReactCommon/yoga/yoga/debug/AssertFatal.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/react-native/ReactCommon/yoga/yoga/debug/AssertFatal.cpp b/packages/react-native/ReactCommon/yoga/yoga/debug/AssertFatal.cpp index e43ce2a254e..5016053b1fa 100644 --- a/packages/react-native/ReactCommon/yoga/yoga/debug/AssertFatal.cpp +++ b/packages/react-native/ReactCommon/yoga/yoga/debug/AssertFatal.cpp @@ -5,6 +5,7 @@ * LICENSE file in the root directory of this source tree. */ +#include #include #include