summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2012-02-17 09:19:15 +0000
committerManolo Gouy <Manolo>2012-02-17 09:19:15 +0000
commitda5c3c2cbcf115db778af56c542d14a1860efe12 (patch)
treed288ed3c5f10b902429daf3017d002268ad665d8 /FL
parent477febec7b5f4c8f1eafeecd0711793ca690ba15 (diff)
Added missing #include <stdlib.h>
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9237 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl_Device.H3
1 files changed, 2 insertions, 1 deletions
diff --git a/FL/Fl_Device.H b/FL/Fl_Device.H
index f008730c7..adab9d4bd 100644
--- a/FL/Fl_Device.H
+++ b/FL/Fl_Device.H
@@ -31,6 +31,7 @@
#include <FL/Fl_Bitmap.H>
#include <FL/Fl_Pixmap.H>
#include <FL/Fl_RGB_Image.H>
+#include <stdlib.h>
class Fl_Graphics_Driver;
class Fl_Font_Descriptor;
@@ -386,7 +387,7 @@ public:
/** Sets the current Fl_Font_Descriptor for the graphics driver */
inline void font_descriptor(Fl_Font_Descriptor *d) { font_descriptor_ = d;}
/** \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)