diff --git a/Libraries/LibWasm/AbstractMachine/AbstractMachine.h b/Libraries/LibWasm/AbstractMachine/AbstractMachine.h index 7044004727..966aa0db0e 100644 --- a/Libraries/LibWasm/AbstractMachine/AbstractMachine.h +++ b/Libraries/LibWasm/AbstractMachine/AbstractMachine.h @@ -20,6 +20,7 @@ namespace Wasm { class Configuration; +class Result; struct Interpreter; struct InstantiationError { diff --git a/Libraries/LibWasm/CMakeLists.txt b/Libraries/LibWasm/CMakeLists.txt index caefd9636a..d120f3aee1 100644 --- a/Libraries/LibWasm/CMakeLists.txt +++ b/Libraries/LibWasm/CMakeLists.txt @@ -5,9 +5,12 @@ set(SOURCES AbstractMachine/Validator.cpp Parser/Parser.cpp Printer/Printer.cpp - WASI/Wasi.cpp ) +if (NOT WIN32) + list(APPEND SOURCES WASI/Wasi.cpp) +endif() + serenity_lib(LibWasm wasm) target_link_libraries(LibWasm PRIVATE LibCore LibGC LibJS)