diff --git a/src/qt/sdl_joystick.cpp b/src/qt/sdl_joystick.cpp index 13adfba44..5a8100ee5 100644 --- a/src/qt/sdl_joystick.cpp +++ b/src/qt/sdl_joystick.cpp @@ -12,6 +12,8 @@ plat_joystick_t plat_joystick_state[MAX_PLAT_JOYSTICKS]; static SDL_Joystick *sdl_joy[MAX_PLAT_JOYSTICKS]; } +#include + void joystick_init() { if (SDL_InitSubSystem(SDL_INIT_JOYSTICK) != 0) { return;