diff --git a/src/port/emscripten.cpp b/src/port/emscripten.cpp index 08c9e74b915..98ab6763390 100644 --- a/src/port/emscripten.cpp +++ b/src/port/emscripten.cpp @@ -18,6 +18,12 @@ #ifdef __EMSCRIPTEN__ +#include "addon/addon_manager.hpp" +#include "gui/menu_manager.hpp" +#include "supertux/gameconfig.hpp" +#include "supertux/globals.hpp" +#include "video/video_system.hpp" + extern "C" { EMSCRIPTEN_KEEPALIVE // This is probably not useful, I just want ppl to know it exists diff --git a/src/port/emscripten.hpp b/src/port/emscripten.hpp index 33ef193206e..a01aef26d8f 100644 --- a/src/port/emscripten.hpp +++ b/src/port/emscripten.hpp @@ -24,12 +24,6 @@ #include #include -#include "addon/addon_manager.hpp" -#include "gui/menu_manager.hpp" -#include "supertux/gameconfig.hpp" -#include "supertux/globals.hpp" -#include "video/video_system.hpp" - extern "C" { void set_resolution(int w, int h);