From cd0baf3217701134a8e61932fd14c39cec0cf242 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 13 Sep 2013 15:56:56 +0300 Subject: Fix compilation errors with different flags. Also fix renderer selection in build without OpenGL. --- src/input/keyevent.h | 4 ++++ src/input/keyinput.h | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'src/input') 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 #include +#include + +#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 +#include + +#include "localconsts.h" + class KeyInput final : public gcn::KeyInput { public: -- cgit v1.2.3-70-g09d2