summaryrefslogtreecommitdiff
path: root/src/gui/widgets/textfield.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-11-23 23:09:10 +0300
committerAndrei Karas <akaras@inbox.ru>2013-11-23 23:09:10 +0300
commitfe13f5e84f104b6dddd6fb1465550ad3e0423653 (patch)
treea3f25b80f97ef5e391e05159a453f30643b505a6 /src/gui/widgets/textfield.cpp
parent6bed768bc416eed0212b62e70731d2c40cd1b69b (diff)
downloadmanaverse-fe13f5e84f104b6dddd6fb1465550ad3e0423653.tar.gz
manaverse-fe13f5e84f104b6dddd6fb1465550ad3e0423653.tar.bz2
manaverse-fe13f5e84f104b6dddd6fb1465550ad3e0423653.tar.xz
manaverse-fe13f5e84f104b6dddd6fb1465550ad3e0423653.zip
fix compilation with SDL2 and without internal guichan and same time.
Diffstat (limited to 'src/gui/widgets/textfield.cpp')
-rw-r--r--src/gui/widgets/textfield.cpp4
1 files changed, 4 insertions, 0 deletions
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"