summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/sdlinput.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/sdlinput.h b/src/gui/sdlinput.h
index b5454b7f7..f64f35134 100644
--- a/src/gui/sdlinput.h
+++ b/src/gui/sdlinput.h
@@ -84,6 +84,10 @@
#include <SDL_events.h>
+#ifdef USE_SDL2
+#include <SDL_keyboard.h>
+#endif // USE_SDL2
+
#include "input/mouseinput.h"
#include <queue>