summaryrefslogtreecommitdiff
path: root/src/Fl_Image_Surface.cxx
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2021-03-20 21:39:28 +0100
committerAlbrecht Schlosser <albrechts.fltk@online.de>2021-03-21 00:42:28 +0100
commit41266df7ae51f179f4a80f67a2eba896ba1fd7b2 (patch)
tree52103dcc63cd91c58b6f599ca7595b254549b3cb /src/Fl_Image_Surface.cxx
parentbd52db0b952d35ce793153e4a0c0b25f102a4395 (diff)
Remove unnecessary system includes from public headers
Add includes of system headers in the implementation files where necessary.
Diffstat (limited to 'src/Fl_Image_Surface.cxx')
-rw-r--r--src/Fl_Image_Surface.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Fl_Image_Surface.cxx b/src/Fl_Image_Surface.cxx
index e273a4c2f..e2870e578 100644
--- a/src/Fl_Image_Surface.cxx
+++ b/src/Fl_Image_Surface.cxx
@@ -1,7 +1,7 @@
//
// Draw-to-image code for the Fast Light Tool Kit (FLTK).
//
-// Copyright 1998-2017 by Bill Spitzak and others.
+// Copyright 1998-2021 by Bill Spitzak and others.
//
// This library is free software. Distribution and use rights are outlined in
// the file "COPYING" which should have been included with this file. If this
@@ -18,6 +18,8 @@
#include <FL/fl_draw.H> // necessary for FL_EXPORT fl_*_offscreen()
+#include <stdlib.h> // realloc()
+
/** Constructor with optional high resolution.
\param w,h Width and height of the resulting image. The value of the \p high_res
parameter controls whether \p w and \p h are interpreted as pixels or FLTK units.