summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-09-01 11:45:27 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-09-01 11:45:27 +0200
commitb4686f0e5bc4cd871eab50e5e474a8c55ad61845 (patch)
tree5bdb1db66812a5e830e2723f4bf0594a9eb2ec9e /src/drivers
parent736c20f7a2ee0ab2b40850e3872844c584c576c0 (diff)
Restore building with --disable-xft
Diffstat (limited to 'src/drivers')
-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.