From 2a8c7a422339cd0a854b20a1ea1325f09ecddd9a 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 (#1511) Summary: X-link: https://github.com/facebook/react-native/pull/41917 See also https://en.cppreference.com/w/cpp/error/terminate. Pull Request resolved: https://github.com/facebook/yoga/pull/1511 Reviewed By: christophpurrer Differential Revision: D52072882 Pulled By: NickGerleman fbshipit-source-id: 4d4d442b82d108d1d2ff5d241fbdc8df89045fed --- yoga/debug/AssertFatal.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/yoga/debug/AssertFatal.cpp b/yoga/debug/AssertFatal.cpp index e43ce2a2..5016053b 100644 --- a/yoga/debug/AssertFatal.cpp +++ b/yoga/debug/AssertFatal.cpp @@ -5,6 +5,7 @@ * LICENSE file in the root directory of this source tree. */ +#include #include #include