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/gui/widgets/colormodel.h | 2 ++ src/gui/widgets/textfield.cpp | 1 + 2 files changed, 3 insertions(+) (limited to 'src/gui') diff --git a/src/gui/widgets/colormodel.h b/src/gui/widgets/colormodel.h index 64310958d..5ce7629a4 100644 --- a/src/gui/widgets/colormodel.h +++ b/src/gui/widgets/colormodel.h @@ -26,6 +26,8 @@ #include #include +#include "localconsts.h" + class Widget2; struct ColorPair diff --git a/src/gui/widgets/textfield.cpp b/src/gui/widgets/textfield.cpp index d6bc9ca68..022a20781 100644 --- a/src/gui/widgets/textfield.cpp +++ b/src/gui/widgets/textfield.cpp @@ -28,6 +28,7 @@ #include "input/keyevent.h" #include "gui/popupmenu.h" +#include "gui/sdlinput.h" #include "gui/viewport.h" #include "resources/image.h" -- cgit v1.2.3-70-g09d2