summaryrefslogtreecommitdiff
path: root/src
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
parent0a005f824f7e793fd33389bc5ea2bd569ff01f05 (diff)
downloadmanaverse-2856e066d140c72c878805eb4ec961909551c1fb.tar.gz
manaverse-2856e066d140c72c878805eb4ec961909551c1fb.tar.bz2
manaverse-2856e066d140c72c878805eb4ec961909551c1fb.tar.xz
manaverse-2856e066d140c72c878805eb4ec961909551c1fb.zip
Fix compilation with SDL2 after latest commits.
Diffstat (limited to 'src')
-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",