summaryrefslogtreecommitdiff
path: root/src/input/inputactionmap.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-07-18 01:14:12 +0300
committerAndrei Karas <akaras@inbox.ru>2014-07-18 01:14:12 +0300
commit2856e066d140c72c878805eb4ec961909551c1fb (patch)
treef3ea300e24c431b3b576f4a94e08fc16e30982d7 /src/input/inputactionmap.h
parent0a005f824f7e793fd33389bc5ea2bd569ff01f05 (diff)
downloadplus-2856e066d140c72c878805eb4ec961909551c1fb.tar.gz
plus-2856e066d140c72c878805eb4ec961909551c1fb.tar.bz2
plus-2856e066d140c72c878805eb4ec961909551c1fb.tar.xz
plus-2856e066d140c72c878805eb4ec961909551c1fb.zip
Fix compilation with SDL2 after latest commits.
Diffstat (limited to 'src/input/inputactionmap.h')
-rw-r--r--src/input/inputactionmap.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index 3ab04c98a..538ba8675 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -24,7 +24,7 @@
#define INPUT_KEYBOARDDATA_H
#include "actionmanager.h"
-#include "localconsts.h"
+#include "sdlshared.h"
#include "input/inputaction.h"
#include "input/inputactiondata.h"
@@ -36,6 +36,8 @@
#include <string>
+#include "localconsts.h"
+
// keyData must be in same order as enum keyAction.
static const InputActionData inputActionData[InputAction::TOTAL] = {
{"keyMoveUp",