Author: manolo
Date: 2012-02-17 01:19:15 -0800 (Fri, 17 Feb 2012)
New Revision: 9237
Log:
Added missing #include <stdlib.h>

Modified:
   branches/branch-1.3/FL/Fl_Device.H

Modified: branches/branch-1.3/FL/Fl_Device.H
===================================================================
--- branches/branch-1.3/FL/Fl_Device.H  2012-02-16 13:18:14 UTC (rev 9236)
+++ branches/branch-1.3/FL/Fl_Device.H  2012-02-17 09:19:15 UTC (rev 9237)
@@ -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 @@
   /** 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)

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to