summaryrefslogtreecommitdiff
path: root/test/unittests.cxx
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2021-03-20 21:39:28 +0100
committerAlbrecht Schlosser <albrechts.fltk@online.de>2021-03-21 00:42:28 +0100
commit41266df7ae51f179f4a80f67a2eba896ba1fd7b2 (patch)
tree52103dcc63cd91c58b6f599ca7595b254549b3cb /test/unittests.cxx
parentbd52db0b952d35ce793153e4a0c0b25f102a4395 (diff)
Remove unnecessary system includes from public headers
Add includes of system headers in the implementation files where necessary.
Diffstat (limited to 'test/unittests.cxx')
-rw-r--r--test/unittests.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/unittests.cxx b/test/unittests.cxx
index ca04aac62..22e6220a2 100644
--- a/test/unittests.cxx
+++ b/test/unittests.cxx
@@ -1,7 +1,7 @@
//
// Unit tests for the Fast Light Tool Kit (FLTK).
//
-// Copyright 1998-2017 by Bill Spitzak and others.
+// Copyright 1998-2021 by Bill Spitzak and others.
//
// This library is free software. Distribution and use rights are outlined in
// the file "COPYING" which should have been included with this file. If this
@@ -27,8 +27,9 @@
#include <FL/Fl_Help_View.H>
#include <FL/Fl_Group.H>
#include <FL/Fl_Box.H>
-#include <FL/fl_draw.H> // fl_text_extents()
-#include <FL/fl_string.h> // fl_strdup()
+#include <FL/fl_draw.H> // fl_text_extents()
+#include <FL/fl_string.h> // fl_strdup()
+#include <stdlib.h> // malloc, free
// WINDOW/WIDGET SIZES
#define MAINWIN_W 700 // main window w()