summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/drivers/X11/Fl_X11_Gl_Window_Driver.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/drivers/X11/Fl_X11_Gl_Window_Driver.cxx b/src/drivers/X11/Fl_X11_Gl_Window_Driver.cxx
index b85aadd39..597801a0f 100644
--- a/src/drivers/X11/Fl_X11_Gl_Window_Driver.cxx
+++ b/src/drivers/X11/Fl_X11_Gl_Window_Driver.cxx
@@ -25,6 +25,9 @@
# if ! defined(GLX_VERSION_1_3)
# typedef void *GLXFBConfig;
# endif
+#if ! USE_XFT
+# include "../Xlib/Fl_Font.H"
+#endif
// Describes crap needed to create a GLContext.