From 11a945a499b76ba1eead3df1126e2f4d80cddd43 Mon Sep 17 00:00:00 2001 From: Daniel Bertalan Date: Mon, 12 Jul 2021 19:40:15 +0200 Subject: [PATCH] LibWeb: Add missing `typeinfo` include This code worked with GCC because libstdc++ pulls in `type_info`'s definition through the `cxxabi` header included by `AK/Demangle.h`. In contrast, `libc++` only forward-declares it, so this code failed to compile with it. --- Userland/Libraries/LibWeb/Layout/Node.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Userland/Libraries/LibWeb/Layout/Node.cpp b/Userland/Libraries/LibWeb/Layout/Node.cpp index cbd3de1d43..fc3432e42e 100644 --- a/Userland/Libraries/LibWeb/Layout/Node.cpp +++ b/Userland/Libraries/LibWeb/Layout/Node.cpp @@ -16,6 +16,7 @@ #include #include #include +#include namespace Web::Layout {