summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"