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.
This commit is contained in:
Daniel Bertalan 2021-07-12 19:40:15 +02:00 committed by Andreas Kling
parent ef40de9c6c
commit 11a945a499
Notes: sideshowbarker 2024-07-18 09:04:47 +09:00

View file

@ -16,6 +16,7 @@
#include <LibWeb/Layout/Node.h> #include <LibWeb/Layout/Node.h>
#include <LibWeb/Layout/TextNode.h> #include <LibWeb/Layout/TextNode.h>
#include <LibWeb/Page/BrowsingContext.h> #include <LibWeb/Page/BrowsingContext.h>
#include <typeinfo>
namespace Web::Layout { namespace Web::Layout {