From 0706cdfeb61683aeebc879a340126a3c7645e082 Mon Sep 17 00:00:00 2001 From: Mohamed Boudra Date: Sat, 28 Nov 2026 20:47:53 +0700 Subject: [PATCH] fix(gpui): include LayoutConstraints in enriched-markdown shadow nodes Apple clang does not reach LayoutConstraints.h transitively, so measureContent saw only the forward declaration and failed to compile. --- .../desktop/cpp/EnrichedMarkdownGpuiShadowNodes.h | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/react-native-enriched-markdown/desktop/cpp/EnrichedMarkdownGpuiShadowNodes.h b/packages/react-native-enriched-markdown/desktop/cpp/EnrichedMarkdownGpuiShadowNodes.h index 7333e158c7..99a423d1cc 100644 --- a/packages/react-native-enriched-markdown/desktop/cpp/EnrichedMarkdownGpuiShadowNodes.h +++ b/packages/react-native-enriched-markdown/desktop/cpp/EnrichedMarkdownGpuiShadowNodes.h @@ -5,6 +5,7 @@ #include #include #include +#include #include namespace facebook::react {