diff --git a/src/Fl_Image_Surface.cxx b/src/Fl_Image_Surface.cxx index fd24cd2cf..73956306d 100644 --- a/src/Fl_Image_Surface.cxx +++ b/src/Fl_Image_Surface.cxx @@ -18,6 +18,8 @@ #include +#include // necessary for FL_EXPORT fl_*_offscreen() + /** Constructor with optional high resolution. \param w and \param h set the size of the resulting image. The value of the \p high_res parameter controls whether \p w and \p h are interpreted as pixel or FLTK units.