summaryrefslogtreecommitdiff
path: root/src/input/keyboardconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/input/keyboardconfig.h')
-rw-r--r--src/input/keyboardconfig.h2
1 files changed, 2 insertions, 0 deletions
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")