summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-30 12:54:31 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-30 12:54:31 +0300
commit20ac8001a989426d919f24fe663319f1b0bd1625 (patch)
tree606245c90a6218a4b28a5a099363b7c34a930106 /src/input
parent0b20c8cb3c0b4831349e0b76495ad207630292aa (diff)
downloadplus-20ac8001a989426d919f24fe663319f1b0bd1625.tar.gz
plus-20ac8001a989426d919f24fe663319f1b0bd1625.tar.bz2
plus-20ac8001a989426d919f24fe663319f1b0bd1625.tar.xz
plus-20ac8001a989426d919f24fe663319f1b0bd1625.zip
Remove extra includes again.
Diffstat (limited to 'src/input')
-rw-r--r--src/input/inputmanager.cpp1
-rw-r--r--src/input/keyboardconfig.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/input/inputmanager.cpp b/src/input/inputmanager.cpp
index fa42ffe32..ab0505285 100644
--- a/src/input/inputmanager.cpp
+++ b/src/input/inputmanager.cpp
@@ -54,6 +54,7 @@
#include "gui/windows/tradewindow.h"
#include "utils/checkutils.h"
+#include "utils/foreach.h"
#include "utils/gettext.h"
#include "utils/stdmove.h"
#include "utils/timer.h"
diff --git a/src/input/keyboardconfig.h b/src/input/keyboardconfig.h
index b5e8dc796..1759e4bb9 100644
--- a/src/input/keyboardconfig.h
+++ b/src/input/keyboardconfig.h
@@ -25,7 +25,9 @@
#include "localconsts.h"
+#ifndef USE_SDL2
#include "utils/cast.h"
+#endif // USE_SDL2
PRAGMA48(GCC diagnostic push)
PRAGMA48(GCC diagnostic ignored "-Wshadow")