summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)