--- a/hedgewars/SDLh.pas Sat Nov 25 11:28:44 2017 -0500
+++ b/hedgewars/SDLh.pas Wed Nov 29 13:54:39 2017 +0100
@@ -1112,6 +1112,7 @@
function SDL_SetHint(name, value: PChar): Boolean; cdecl; external SDLLibName;
procedure SDL_StartTextInput; cdecl; external SDLLibName;
procedure SDL_StopTextInput; cdecl; external SDLLibName;
+procedure SDL_FlushEvent(eventType: LongWord); cdecl; external SDLLibName;
function SDL_PeepEvents(event: PSDL_Event; numevents: LongInt; action: TSDL_eventaction; minType, maxType: LongWord): LongInt; cdecl; external SDLLibName;