diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2022-07-09 22:05:46 +0200 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2022-07-09 22:05:46 +0200 |
| commit | 79ce6547ce78c765290db574f1ff4930de862ba0 (patch) | |
| tree | 29229a15ab20287554f528002a0b872ca3bad6a8 /src/drivers/X11/Fl_X11_Screen_Driver.cxx | |
| parent | d9d3406be8640e30108dcef6d8b1111635fa189a (diff) | |
Fix non-xft build referencing fl_get_font_xfld() (#461)
This is only one part of issue 461 which describes two build errors
on "Raspberry Pi4 bullseye". It turned out that the build didn't
find Xft.
Diffstat (limited to 'src/drivers/X11/Fl_X11_Screen_Driver.cxx')
| -rw-r--r-- | src/drivers/X11/Fl_X11_Screen_Driver.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/drivers/X11/Fl_X11_Screen_Driver.cxx b/src/drivers/X11/Fl_X11_Screen_Driver.cxx index b1a62b29e..09e923b40 100644 --- a/src/drivers/X11/Fl_X11_Screen_Driver.cxx +++ b/src/drivers/X11/Fl_X11_Screen_Driver.cxx @@ -56,6 +56,9 @@ extern const char *fl_bg; extern const char *fl_bg2; // end of extern additions workaround +#if !USE_XFT +extern char *fl_get_font_xfld(int fnum, int size); +#endif XIM Fl_X11_Screen_Driver::xim_im = 0; |
