From 99c36b44ac0191e8d6052e418de1a9eb6fac7378 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Tue, 8 Oct 2024 23:52:03 +0200 Subject: [PATCH] Restore building without Cairo developer files (#1087) --- src/drivers/Xlib/Fl_Xlib_Graphics_Driver_font_xft.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/drivers/Xlib/Fl_Xlib_Graphics_Driver_font_xft.cxx b/src/drivers/Xlib/Fl_Xlib_Graphics_Driver_font_xft.cxx index 2f2b956a8..8c9e392e6 100644 --- a/src/drivers/Xlib/Fl_Xlib_Graphics_Driver_font_xft.cxx +++ b/src/drivers/Xlib/Fl_Xlib_Graphics_Driver_font_xft.cxx @@ -18,7 +18,9 @@ #include "../../flstring.h" #include "Fl_Xlib_Graphics_Driver.H" -#include "../Cairo/Fl_Cairo_Graphics_Driver.H" +#if USE_PANGO +# include "../Cairo/Fl_Cairo_Graphics_Driver.H" +#endif #include #include #include // fl_strdup()