From 41266df7ae51f179f4a80f67a2eba896ba1fd7b2 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Sat, 20 Mar 2021 21:39:28 +0100 Subject: Remove unnecessary system includes from public headers Add includes of system headers in the implementation files where necessary. --- src/drivers/GDI/Fl_GDI_Graphics_Driver.H | 4 ++-- src/drivers/SVG/Fl_SVG_File_Surface.cxx | 1 + src/drivers/Xlib/Fl_Xlib_Graphics_Driver.cxx | 1 + src/drivers/Xlib/Fl_Xlib_Graphics_Driver_line_style.cxx | 4 ++-- 4 files changed, 6 insertions(+), 4 deletions(-) (limited to 'src/drivers') diff --git a/src/drivers/GDI/Fl_GDI_Graphics_Driver.H b/src/drivers/GDI/Fl_GDI_Graphics_Driver.H index cf8ae3e98..9016e9f5a 100644 --- a/src/drivers/GDI/Fl_GDI_Graphics_Driver.H +++ b/src/drivers/GDI/Fl_GDI_Graphics_Driver.H @@ -2,7 +2,7 @@ // Definition of classes Fl_Graphics_Driver, Fl_Surface_Device, Fl_Display_Device // for the Fast Light Tool Kit (FLTK). // -// Copyright 2010-2018 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 @@ -25,7 +25,7 @@ #include #include - +#include /** \brief The Windows-specific graphics driver class. diff --git a/src/drivers/SVG/Fl_SVG_File_Surface.cxx b/src/drivers/SVG/Fl_SVG_File_Surface.cxx index 08727c842..371e618e1 100644 --- a/src/drivers/SVG/Fl_SVG_File_Surface.cxx +++ b/src/drivers/SVG/Fl_SVG_File_Surface.cxx @@ -29,6 +29,7 @@ #include #include #include +#include extern "C" { #if defined(HAVE_LIBPNG) diff --git a/src/drivers/Xlib/Fl_Xlib_Graphics_Driver.cxx b/src/drivers/Xlib/Fl_Xlib_Graphics_Driver.cxx index 6401efa97..a96682554 100644 --- a/src/drivers/Xlib/Fl_Xlib_Graphics_Driver.cxx +++ b/src/drivers/Xlib/Fl_Xlib_Graphics_Driver.cxx @@ -22,6 +22,7 @@ #include #include +#include extern XIC fl_xim_ic; extern char fl_is_over_the_spot; diff --git a/src/drivers/Xlib/Fl_Xlib_Graphics_Driver_line_style.cxx b/src/drivers/Xlib/Fl_Xlib_Graphics_Driver_line_style.cxx index 1aaeceea1..17fbba7fa 100644 --- a/src/drivers/Xlib/Fl_Xlib_Graphics_Driver_line_style.cxx +++ b/src/drivers/Xlib/Fl_Xlib_Graphics_Driver_line_style.cxx @@ -1,7 +1,7 @@ // // Line style code for the Fast Light Tool Kit (FLTK). // -// Copyright 1998-2018 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 @@ -23,8 +23,8 @@ #include #include #include "../../flstring.h" - #include "Fl_Xlib_Graphics_Driver.H" +#include void Fl_Xlib_Graphics_Driver::line_style_unscaled(int style, int width, char* dashes) { -- cgit v1.2.3