summaryrefslogtreecommitdiff
path: root/src/input/keyinput.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-04 03:21:57 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-04 03:21:57 +0300
commit485ba81a87c50c23d1f97318e42f4937af1fda1f (patch)
treeb1b85f22e9bf2ea10e5fcddf3000506d207015fe /src/input/keyinput.h
parent554210becbfc9de611699889a3fd0f53525a1b83 (diff)
downloadplus-485ba81a87c50c23d1f97318e42f4937af1fda1f.tar.gz
plus-485ba81a87c50c23d1f97318e42f4937af1fda1f.tar.bz2
plus-485ba81a87c50c23d1f97318e42f4937af1fda1f.tar.xz
plus-485ba81a87c50c23d1f97318e42f4937af1fda1f.zip
Remove some useless includes if using SDL2.
Diffstat (limited to 'src/input/keyinput.h')
-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