LibJS: Include <typeinfo> in AST.cpp

Without this, the oss-fuzz build says:

../Userland/Libraries/LibJS/AST.cpp:58:34: error: member access into incomplete type 'const std::type_info'
    return demangle(typeid(*this).name()).substring(4);
                                 ^
This commit is contained in:
Nico Weber 2021-01-20 14:16:25 -05:00 committed by Andreas Kling
parent de98f69bfe
commit 8ccd8b4a6f
Notes: sideshowbarker 2024-07-18 23:02:22 +09:00

View file

@ -49,6 +49,7 @@
#include <LibJS/Runtime/Shape.h>
#include <LibJS/Runtime/StringObject.h>
#include <LibJS/Runtime/WithScope.h>
#include <typeinfo>
namespace JS {