summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-13 15:56:56 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-13 15:56:56 +0300
commitcd0baf3217701134a8e61932fd14c39cec0cf242 (patch)
tree7d18a8b58d753865c3de9027fd384035375c7ab9 /src/input
parente71aed97c2d885c8113561c1e0cad91454adeb57 (diff)
downloadmanaverse-cd0baf3217701134a8e61932fd14c39cec0cf242.tar.gz
manaverse-cd0baf3217701134a8e61932fd14c39cec0cf242.tar.bz2
manaverse-cd0baf3217701134a8e61932fd14c39cec0cf242.tar.xz
manaverse-cd0baf3217701134a8e61932fd14c39cec0cf242.zip
Fix compilation errors with different flags.
Also fix renderer selection in build without OpenGL.
Diffstat (limited to 'src/input')
-rw-r--r--src/input/keyevent.h4
-rw-r--r--src/input/keyinput.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/src/input/keyevent.h b/src/input/keyevent.h
index cb96f45c9..eaed82376 100644
--- a/src/input/keyevent.h
+++ b/src/input/keyevent.h
@@ -24,6 +24,10 @@
#include <guichan/key.hpp>
#include <guichan/keyevent.hpp>
+#include <string>
+
+#include "localconsts.h"
+
class KeyEvent final : public gcn::KeyEvent
{
public:
diff --git a/src/input/keyinput.h b/src/input/keyinput.h
index 9d744f01c..24545ed1d 100644
--- a/src/input/keyinput.h
+++ b/src/input/keyinput.h
@@ -23,6 +23,10 @@
#include <guichan/keyinput.hpp>
+#include <string>
+
+#include "localconsts.h"
+
class KeyInput final : public gcn::KeyInput
{
public: