diff --git a/Source/Core/DolphinWX/MainNoGUI.cpp b/Source/Core/DolphinWX/MainNoGUI.cpp index 630beb8876..122a0281f3 100644 --- a/Source/Core/DolphinWX/MainNoGUI.cpp +++ b/Source/Core/DolphinWX/MainNoGUI.cpp @@ -29,6 +29,9 @@ #if HAVE_WAYLAND #include +#endif + +#ifdef USE_EGL #include "DolphinWX/GLInterface/GLInterface.h" #endif