From fe13f5e84f104b6dddd6fb1465550ad3e0423653 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 23 Nov 2013 23:09:10 +0300 Subject: fix compilation with SDL2 and without internal guichan and same time. --- src/gui/widgets/textfield.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/gui/widgets/textfield.cpp') diff --git a/src/gui/widgets/textfield.cpp b/src/gui/widgets/textfield.cpp index 7a6f27ee2..47e415c78 100644 --- a/src/gui/widgets/textfield.cpp +++ b/src/gui/widgets/textfield.cpp @@ -31,6 +31,10 @@ #include "input/keydata.h" #include "input/keyevent.h" +#ifndef USE_INTERNALGUICHAN +#include "gui/sdlinput.h" +#endif + #include "gui/viewport.h" #include "gui/popups/popupmenu.h" -- cgit v1.2.3-60-g2f50