diff --git a/platform/web/web_main.cpp b/platform/web/web_main.cpp index eb616440661..d0c3bd7c0e1 100644 --- a/platform/web/web_main.cpp +++ b/platform/web/web_main.cpp @@ -36,6 +36,7 @@ #include "core/io/resource_loader.h" #include "main/main.h" #include "scene/main/scene_tree.h" +#include "scene/main/window.h" // SceneTree only forward declares it. #include #include