summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl.H1
-rw-r--r--FL/Fl_Device.H3
-rw-r--r--FL/Fl_File_Chooser.H5
-rw-r--r--FL/Fl_Graphics_Driver.H1
-rw-r--r--FL/Fl_Help_Dialog.H2
-rw-r--r--FL/Fl_Image.H1
-rw-r--r--FL/Fl_Input_Choice.H9
-rw-r--r--FL/Fl_Text_Buffer.H4
-rw-r--r--FL/Fl_Window.H1
-rw-r--r--FL/fl_utf8.h4
10 files changed, 8 insertions, 23 deletions
diff --git a/FL/Fl.H b/FL/Fl.H
index dfa9c5748..1706cc2d5 100644
--- a/FL/Fl.H
+++ b/FL/Fl.H
@@ -42,6 +42,7 @@
# undef BSD
# endif
+#include <string.h> // FIXME: Fl::is_scheme(): strcmp needs string.h
class Fl_Widget;
class Fl_Window;
diff --git a/FL/Fl_Device.H b/FL/Fl_Device.H
index f7ec44052..9615bdc44 100644
--- a/FL/Fl_Device.H
+++ b/FL/Fl_Device.H
@@ -2,7 +2,7 @@
// Definition of classes Fl_Surface_Device, Fl_Display_Device
// for the Fast Light Tool Kit (FLTK).
//
-// Copyright 2010-2017 by Bill Spitzak and others.
+// Copyright 2010-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
@@ -24,7 +24,6 @@
#include <FL/Fl_Plugin.H>
#include <FL/platform_types.h>
-#include <stdlib.h>
class Fl_Graphics_Driver;
class Fl_RGB_Image;
diff --git a/FL/Fl_File_Chooser.H b/FL/Fl_File_Chooser.H
index 341b8e683..5935edc28 100644
--- a/FL/Fl_File_Chooser.H
+++ b/FL/Fl_File_Chooser.H
@@ -1,7 +1,7 @@
//
// Fl_File_Chooser dialog for the Fast Light Tool Kit (FLTK).
//
-// Copyright 1998-2015 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,9 +27,6 @@
#define Fl_File_Chooser_H
#include <FL/Fl.H>
#include <FL/Fl_Double_Window.H>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
#include <FL/Fl_Group.H>
#include <FL/Fl_Choice.H>
#include <FL/Fl_Menu_Button.H>
diff --git a/FL/Fl_Graphics_Driver.H b/FL/Fl_Graphics_Driver.H
index 974f1be3c..9d2b85f26 100644
--- a/FL/Fl_Graphics_Driver.H
+++ b/FL/Fl_Graphics_Driver.H
@@ -33,7 +33,6 @@
#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;
diff --git a/FL/Fl_Help_Dialog.H b/FL/Fl_Help_Dialog.H
index ef5f31028..ed19ca2a2 100644
--- a/FL/Fl_Help_Dialog.H
+++ b/FL/Fl_Help_Dialog.H
@@ -1,7 +1,7 @@
//
// Fl_Help_Dialog dialog for the Fast Light Tool Kit (FLTK).
//
-// Copyright 1998-2015 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
diff --git a/FL/Fl_Image.H b/FL/Fl_Image.H
index daac00165..f39e0eaeb 100644
--- a/FL/Fl_Image.H
+++ b/FL/Fl_Image.H
@@ -21,7 +21,6 @@
#define Fl_Image_H
#include "Enumerations.H"
-#include <stdlib.h>
#include "Fl_Widget.H" // for fl_uintptr_t
class Fl_Widget;
diff --git a/FL/Fl_Input_Choice.H b/FL/Fl_Input_Choice.H
index 9f29ce968..71bc76ee0 100644
--- a/FL/Fl_Input_Choice.H
+++ b/FL/Fl_Input_Choice.H
@@ -5,8 +5,8 @@
// | input area || \/ |
// |______________||____|
//
-// Copyright 1998-2017 by Bill Spitzak and others.
// Copyright 2004 by Greg Ercolano.
+// 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
@@ -30,13 +30,6 @@
#include <FL/Fl_Input.H>
#include <FL/Fl_Menu_Button.H>
-// Leaving these two headers so builds don't break if user includes this
-// header and uses items from fl_draw or string (but doesn't include in src).
-// Note: this would ensure compatibility with FLTK 1.3.x.
-// Shall we? Currently not!
-// #include <FL/fl_draw.H>
-// #include <string.h>
-
/*
A combination of the input widget and a menu button.
diff --git a/FL/Fl_Text_Buffer.H b/FL/Fl_Text_Buffer.H
index 473e61c77..a1d044f48 100644
--- a/FL/Fl_Text_Buffer.H
+++ b/FL/Fl_Text_Buffer.H
@@ -1,7 +1,7 @@
//
// Header file for Fl_Text_Buffer class.
//
-// Copyright 2001-2017 by Bill Spitzak and others.
+// Copyright 2001-2021 by Bill Spitzak and others.
// Original code Copyright Mark Edel. Permission to distribute under
// the LGPL for the FLTK library granted by Mark Edel.
//
@@ -22,7 +22,7 @@
#ifndef FL_TEXT_BUFFER_H
#define FL_TEXT_BUFFER_H
-#include <stdarg.h> /* va_start/end */
+#include <stdarg.h> /* va_list */
#undef ASSERT_UTF8
diff --git a/FL/Fl_Window.H b/FL/Fl_Window.H
index 9c83d7b11..4ce65f3bc 100644
--- a/FL/Fl_Window.H
+++ b/FL/Fl_Window.H
@@ -23,7 +23,6 @@
#include <FL/Fl.H>
#include <FL/Fl_Group.H>
#include <FL/Fl_Bitmap.H>
-#include <stdlib.h>
#define FL_WINDOW 0xF0 ///< window type id: all subclasses have type() >= this
#define FL_DOUBLE_WINDOW 0xF1 ///< double window type id
diff --git a/FL/fl_utf8.h b/FL/fl_utf8.h
index 8cf26900a..315f24cf6 100644
--- a/FL/fl_utf8.h
+++ b/FL/fl_utf8.h
@@ -29,9 +29,7 @@
#include "Fl_Export.H"
#include "fl_types.h"
-#include <stdio.h>
-#include <string.h>
-#include <stdlib.h>
+#include <stdio.h> // FILE *fl_fopen()
#ifdef __cplusplus
extern "C" {