summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2018-08-06 15:17:39 +0000
committerAlbrecht Schlosser <albrechts.fltk@online.de>2018-08-06 15:17:39 +0000
commit6d276aed27d06e7a8162e0c867ac59bc5200170b (patch)
tree4650ace064abe28ec6a5c75beae7b7e65c24da3a /src
parenta4194a40ab2dcb7aff84df6fa5a2871893a9c1fc (diff)
Add missing FL_EXPORT statements.
This fixes a regression causing 'fluid-shared' build to fail (only if configured with --enable-shared, obviously). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13006 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Image_Surface.cxx2
1 files changed, 2 insertions, 0 deletions
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 <FL/Fl_Image_Surface.H>
+#include <FL/fl_draw.H> // 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.