summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
Diffstat (limited to 'src/input')
-rw-r--r--src/input/keyinput.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/input/keyinput.h b/src/input/keyinput.h
index fb8246cf5..d582303a0 100644
--- a/src/input/keyinput.h
+++ b/src/input/keyinput.h
@@ -70,6 +70,10 @@
#include "input/key.h"
+#ifdef USE_SDL2
+#include <string>
+#endif // USE_SDL2
+
#include "localconsts.h"
class KeyInput final