diff --git a/dlls/dinput/joystick_linuxinput.c b/dlls/dinput/joystick_linuxinput.c index 5f3be50ee9a..b2d9480ee44 100644 --- a/dlls/dinput/joystick_linuxinput.c +++ b/dlls/dinput/joystick_linuxinput.c @@ -742,9 +742,11 @@ static void joy_polldev(JoystickImpl *This) { This->ff_state = ie.value; break; #endif +#ifdef EV_SYN case EV_SYN: /* there is nothing to do */ break; +#endif default: FIXME("joystick cannot handle type %d event (code %d)\n",ie.type,ie.code); break;