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


Modified:
   branches/branch-3.0/include/fltk3/Device.h

Modified: branches/branch-3.0/include/fltk3/Device.h
===================================================================
--- branches/branch-3.0/include/fltk3/Device.h  2012-02-17 09:19:15 UTC (rev 
9237)
+++ branches/branch-3.0/include/fltk3/Device.h  2012-02-17 09:25:41 UTC (rev 
9238)
@@ -40,6 +40,7 @@
 #include <fltk3/Bitmap.h>
 #include <fltk3/Pixmap.h>
 #include <fltk3/RGBImage.h>
+#include <stdlib.h>
 
 // typedef what the x,y fields in a point are:
 #ifdef WIN32
@@ -326,7 +327,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 ~GraphicsDriver() { if (p) free(p); };
+    virtual ~GraphicsDriver() { if (p) free(p); }
   };
   
 #if defined(__APPLE__) || defined(FLTK3_DOXYGEN)

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

Reply via email to