summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-02-07 18:15:34 +0300
committerAndrei Karas <akaras@inbox.ru>2017-02-07 18:15:34 +0300
commitf86a584d8f19a06d06acaef3ad1f9d3eef4690ad (patch)
tree0c8574417ea7b77bb464e93e3395b95178e3d94f /src/input
parentf29d4876505fd3fd8c5d2c115e2a790409b02289 (diff)
downloadmanaplus-f86a584d8f19a06d06acaef3ad1f9d3eef4690ad.tar.gz
manaplus-f86a584d8f19a06d06acaef3ad1f9d3eef4690ad.tar.bz2
manaplus-f86a584d8f19a06d06acaef3ad1f9d3eef4690ad.tar.xz
manaplus-f86a584d8f19a06d06acaef3ad1f9d3eef4690ad.zip
Fix compilation with SDL2.
Diffstat (limited to 'src/input')
-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 31cae27bb..b022ad13d 100644
--- a/src/input/keyboardconfig.h
+++ b/src/input/keyboardconfig.h
@@ -23,6 +23,8 @@
#ifndef INPUT_KEYBOARDCONFIG_H
#define INPUT_KEYBOARDCONFIG_H
+#include "localconsts.h"
+
#ifdef USE_SDL2
PRAGMA45(GCC diagnostic push)
PRAGMA45(GCC diagnostic ignored "-Wswitch-default")