diff --git a/src/pc/gfx/gfx_dxgi.cpp b/src/pc/gfx/gfx_dxgi.cpp index d8fdc35a..80fc20b5 100644 --- a/src/pc/gfx/gfx_dxgi.cpp +++ b/src/pc/gfx/gfx_dxgi.cpp @@ -25,6 +25,9 @@ extern "C" { #include "src/pc/mods/mod_import.h" +#ifdef DISCORD_SDK +#include "pc/discord/discord.h" +#endif } #include "gfx_window_manager_api.h" @@ -33,10 +36,6 @@ extern "C" { #include "gfx_screen_config.h" #include "gfx_pc.h" -#ifdef DISCORD_SDK -#include "pc/discord/discord.h" -#endif - #define WINCLASS_NAME L"N64GAME" #define DECLARE_GFX_DXGI_FUNCTIONS