diff options
Diffstat (limited to 'src/input')
-rw-r--r-- | src/input/inputmanager.cpp | 1 | ||||
-rw-r--r-- | src/input/keyboardconfig.h | 2 |
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") |