Added missing #include <stdlib.h>

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9237 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Manolo Gouy 2012-02-17 09:19:15 +00:00
parent 477febec7b
commit da5c3c2cbc

View File

@ -31,6 +31,7 @@
#include <FL/Fl_Bitmap.H> #include <FL/Fl_Bitmap.H>
#include <FL/Fl_Pixmap.H> #include <FL/Fl_Pixmap.H>
#include <FL/Fl_RGB_Image.H> #include <FL/Fl_RGB_Image.H>
#include <stdlib.h>
class Fl_Graphics_Driver; class Fl_Graphics_Driver;
class Fl_Font_Descriptor; class Fl_Font_Descriptor;
@ -386,7 +387,7 @@ public:
/** Sets the current Fl_Font_Descriptor for the graphics driver */ /** Sets the current Fl_Font_Descriptor for the graphics driver */
inline void font_descriptor(Fl_Font_Descriptor *d) { font_descriptor_ = d;} inline void font_descriptor(Fl_Font_Descriptor *d) { font_descriptor_ = d;}
/** \brief The destructor */ /** \brief The destructor */
virtual ~Fl_Graphics_Driver() { if (p) free(p); }; virtual ~Fl_Graphics_Driver() { if (p) free(p); }
}; };
#if defined(__APPLE__) || defined(FL_DOXYGEN) #if defined(__APPLE__) || defined(FL_DOXYGEN)