diff --git a/core/textinput/src/Getline.cxx b/core/textinput/src/Getline.cxx
index 225cdd87e19af1ffd7e783e75d4c8ff50b2d2d6f..9a4f40d555d441b0f3b3442f32fffcd4cdc5106b 100644
--- a/core/textinput/src/Getline.cxx
+++ b/core/textinput/src/Getline.cxx
@@ -22,6 +22,7 @@
 #include "textinput/Callbacks.h"
 #include "Getline_color.h"
 #include "TApplication.h"
+#include "TInterpreter.h"
 
 extern "C" {
    int (* Gl_in_key)(int ch) = 0;