diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-04-04 15:30:18 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-04-04 15:30:18 +0200 |
| commit | e790a3a185026a2b2f0a63a9231081ec4069acd2 (patch) | |
| tree | ee3f1735a4dccbb43a6adfe8bd0bdec7f8dfffb7 | |
| parent | 0ba4e39eddd9c33ab826eeb608003dc984bc2571 (diff) | |
Remove superfluous #include directives
8 files changed, 3 insertions, 8 deletions
diff --git a/src/drivers/Unix/Fl_Unix_Screen_Driver.H b/src/drivers/Unix/Fl_Unix_Screen_Driver.H index ebd0ed706..456346120 100644 --- a/src/drivers/Unix/Fl_Unix_Screen_Driver.H +++ b/src/drivers/Unix/Fl_Unix_Screen_Driver.H @@ -2,7 +2,7 @@ // Definition of the part of the screen driver shared by X11 and Wayland platforms // for the Fast Light Tool Kit (FLTK). // -// Copyright 2021-2022 by Bill Spitzak and others. +// Copyright 2021-2023 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 @@ -18,6 +18,7 @@ #ifndef FL_UNIX_SCREEN_DRIVER_H #define FL_UNIX_SCREEN_DRIVER_H +#include <config.h> #include "../../Fl_Screen_Driver.H" # if USE_POLL diff --git a/src/drivers/Wayland/Fl_Wayland_Copy_Surface_Driver.cxx b/src/drivers/Wayland/Fl_Wayland_Copy_Surface_Driver.cxx index 0e177330d..c3d8a977c 100644 --- a/src/drivers/Wayland/Fl_Wayland_Copy_Surface_Driver.cxx +++ b/src/drivers/Wayland/Fl_Wayland_Copy_Surface_Driver.cxx @@ -14,7 +14,6 @@ // https://www.fltk.org/bugs.php // -#include <config.h> #include "Fl_Wayland_Copy_Surface_Driver.H" #include <FL/Fl_Image_Surface.H> #include "Fl_Wayland_Graphics_Driver.H" diff --git a/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.cxx b/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.cxx index 06fbd3a3c..608a8c004 100644 --- a/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.cxx +++ b/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.cxx @@ -14,7 +14,6 @@ // https://www.fltk.org/bugs.php // -#include <config.h> #include "Fl_Wayland_Graphics_Driver.H" #include "Fl_Wayland_Screen_Driver.H" #include "Fl_Wayland_Window_Driver.H" diff --git a/src/drivers/Wayland/Fl_Wayland_Image_Surface_Driver.cxx b/src/drivers/Wayland/Fl_Wayland_Image_Surface_Driver.cxx index 68e0c5ae9..24f0f8182 100644 --- a/src/drivers/Wayland/Fl_Wayland_Image_Surface_Driver.cxx +++ b/src/drivers/Wayland/Fl_Wayland_Image_Surface_Driver.cxx @@ -14,7 +14,6 @@ // https://www.fltk.org/bugs.php // -#include <config.h> #include <FL/platform.H> #include "Fl_Wayland_Graphics_Driver.H" #include "Fl_Wayland_Window_Driver.H" diff --git a/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx b/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx index e695cb5e1..1dcf36cdc 100644 --- a/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx +++ b/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx @@ -14,7 +14,6 @@ // https://www.fltk.org/bugs.php // -#include <config.h> #include "Fl_Wayland_Screen_Driver.H" #include "Fl_Wayland_Window_Driver.H" #include "Fl_Wayland_Graphics_Driver.H" diff --git a/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx b/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx index 89b9a2953..f6707f965 100644 --- a/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx +++ b/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx @@ -14,7 +14,6 @@ // https://www.fltk.org/bugs.php // -#include <config.h> #include <FL/platform.H> #include "Fl_Wayland_Window_Driver.H" #include "Fl_Wayland_Screen_Driver.H" diff --git a/src/drivers/Wayland/fl_wayland_clipboard_dnd.cxx b/src/drivers/Wayland/fl_wayland_clipboard_dnd.cxx index d65b2957f..adc942fe4 100644 --- a/src/drivers/Wayland/fl_wayland_clipboard_dnd.cxx +++ b/src/drivers/Wayland/fl_wayland_clipboard_dnd.cxx @@ -16,7 +16,6 @@ #if !defined(FL_DOXYGEN) -# include <config.h> # include <FL/Fl.H> # include <FL/platform.H> # include <FL/Fl_Window.H> diff --git a/src/drivers/Wayland/fl_wayland_platform_init.cxx b/src/drivers/Wayland/fl_wayland_platform_init.cxx index fac1488be..880d12310 100644 --- a/src/drivers/Wayland/fl_wayland_platform_init.cxx +++ b/src/drivers/Wayland/fl_wayland_platform_init.cxx @@ -14,7 +14,7 @@ // https://www.fltk.org/bugs.php // -#include <config.h> +#include <FL/fl_config.h> #include "Fl_Wayland_Copy_Surface_Driver.H" #include "Fl_Wayland_Graphics_Driver.H" #include "Fl_Wayland_Screen_Driver.H" |
