From a277e645d3acfbf66e51f88b231caad5ee1bb5f1 Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Thu, 16 Mar 2023 10:55:28 -0400 Subject: [PATCH] LibWeb: Add LibJS includes to generated IDL namespace files These will be needed by any namespace having a BufferSource parameter, such as WebAssembly. Similar to 49e6cb7c3d62eeeddf63c5db931038f1aeb58d53. --- .../CodeGenerators/LibWeb/BindingsGenerator/IDLGenerators.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Meta/Lagom/Tools/CodeGenerators/LibWeb/BindingsGenerator/IDLGenerators.cpp b/Meta/Lagom/Tools/CodeGenerators/LibWeb/BindingsGenerator/IDLGenerators.cpp index 234ec48c08..c3aceae854 100644 --- a/Meta/Lagom/Tools/CodeGenerators/LibWeb/BindingsGenerator/IDLGenerators.cpp +++ b/Meta/Lagom/Tools/CodeGenerators/LibWeb/BindingsGenerator/IDLGenerators.cpp @@ -2739,8 +2739,11 @@ void generate_namespace_implementation(IDL::Interface const& interface, StringBu generator.append(R"~~~( #include #include +#include +#include #include #include +#include #include #include #include