summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
Diffstat (limited to 'src/input')
-rw-r--r--src/input/inputactionmap.h2
-rw-r--r--src/input/inputactionoperators.cpp2
-rw-r--r--src/input/inputactionsortfunctor.h2
-rw-r--r--src/input/inputmanager.h1
-rw-r--r--src/input/keyboardconfig.h2
-rw-r--r--src/input/touch/touchmanager.h2
6 files changed, 11 insertions, 0 deletions
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index a87c0cada..8b8d3bf47 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -41,6 +41,8 @@
#include "input/inputactiondata.h"
#include "input/inputmanager.h"
+#include "utils/cast.h"
+
#include "localconsts.h"
#define defaultAction(name) \
diff --git a/src/input/inputactionoperators.cpp b/src/input/inputactionoperators.cpp
index 911cf2e7b..5d6db0967 100644
--- a/src/input/inputactionoperators.cpp
+++ b/src/input/inputactionoperators.cpp
@@ -20,6 +20,8 @@
#include "input/inputactionoperators.h"
+#include "utils/cast.h"
+
#include "debug.h"
InputActionT operator+(InputActionT action, const int& i)
diff --git a/src/input/inputactionsortfunctor.h b/src/input/inputactionsortfunctor.h
index 1d2583aa9..106f44b0a 100644
--- a/src/input/inputactionsortfunctor.h
+++ b/src/input/inputactionsortfunctor.h
@@ -23,6 +23,8 @@
#include "input/inputactiondata.h"
+#include "utils/cast.h"
+
#include "localconsts.h"
class InputActionSortFunctor final
diff --git a/src/input/inputmanager.h b/src/input/inputmanager.h
index db61053b0..6deb64858 100644
--- a/src/input/inputmanager.h
+++ b/src/input/inputmanager.h
@@ -25,6 +25,7 @@
#include "events/inputevent.h"
+#include "utils/cast.h"
#include "utils/stringmap.h"
#include <list>
diff --git a/src/input/keyboardconfig.h b/src/input/keyboardconfig.h
index 8691571ae..b5e8dc796 100644
--- a/src/input/keyboardconfig.h
+++ b/src/input/keyboardconfig.h
@@ -25,6 +25,8 @@
#include "localconsts.h"
+#include "utils/cast.h"
+
PRAGMA48(GCC diagnostic push)
PRAGMA48(GCC diagnostic ignored "-Wshadow")
#include <SDL_events.h>
diff --git a/src/input/touch/touchmanager.h b/src/input/touch/touchmanager.h
index b5aea56f0..0d5640f50 100644
--- a/src/input/touch/touchmanager.h
+++ b/src/input/touch/touchmanager.h
@@ -27,6 +27,8 @@
#include "gui/rect.h"
+#include "utils/cast.h"
+
#include <vector>
#include "localconsts.h"