diff --git a/src/m_menu.c b/src/m_menu.c index c12185da6..73ea88835 100644 --- a/src/m_menu.c +++ b/src/m_menu.c @@ -88,6 +88,13 @@ #include "deh_tables.h" // menunames +#if defined(HAVE_SDL) +#include +#if SDL_VERSION_ATLEAST(2,0,0) +#include "sdl/sdlmain.h" // JOYSTICK_HOTPLUG +#endif +#endif + #ifdef PC_DOS #include // for snprintf int snprintf(char *str, size_t n, const char *fmt, ...);