Remove superfluous #include directives

This commit is contained in:
ManoloFLTK 2023-04-04 15:30:18 +02:00
parent 0ba4e39edd
commit e790a3a185
8 changed files with 3 additions and 8 deletions

View File

@ -2,7 +2,7 @@
// Definition of the part of the screen driver shared by X11 and Wayland platforms // Definition of the part of the screen driver shared by X11 and Wayland platforms
// for the Fast Light Tool Kit (FLTK). // 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 // 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 // the file "COPYING" which should have been included with this file. If this
@ -18,6 +18,7 @@
#ifndef FL_UNIX_SCREEN_DRIVER_H #ifndef FL_UNIX_SCREEN_DRIVER_H
#define FL_UNIX_SCREEN_DRIVER_H #define FL_UNIX_SCREEN_DRIVER_H
#include <config.h>
#include "../../Fl_Screen_Driver.H" #include "../../Fl_Screen_Driver.H"
# if USE_POLL # if USE_POLL

View File

@ -14,7 +14,6 @@
// https://www.fltk.org/bugs.php // https://www.fltk.org/bugs.php
// //
#include <config.h>
#include "Fl_Wayland_Copy_Surface_Driver.H" #include "Fl_Wayland_Copy_Surface_Driver.H"
#include <FL/Fl_Image_Surface.H> #include <FL/Fl_Image_Surface.H>
#include "Fl_Wayland_Graphics_Driver.H" #include "Fl_Wayland_Graphics_Driver.H"

View File

@ -14,7 +14,6 @@
// https://www.fltk.org/bugs.php // https://www.fltk.org/bugs.php
// //
#include <config.h>
#include "Fl_Wayland_Graphics_Driver.H" #include "Fl_Wayland_Graphics_Driver.H"
#include "Fl_Wayland_Screen_Driver.H" #include "Fl_Wayland_Screen_Driver.H"
#include "Fl_Wayland_Window_Driver.H" #include "Fl_Wayland_Window_Driver.H"

View File

@ -14,7 +14,6 @@
// https://www.fltk.org/bugs.php // https://www.fltk.org/bugs.php
// //
#include <config.h>
#include <FL/platform.H> #include <FL/platform.H>
#include "Fl_Wayland_Graphics_Driver.H" #include "Fl_Wayland_Graphics_Driver.H"
#include "Fl_Wayland_Window_Driver.H" #include "Fl_Wayland_Window_Driver.H"

View File

@ -14,7 +14,6 @@
// https://www.fltk.org/bugs.php // https://www.fltk.org/bugs.php
// //
#include <config.h>
#include "Fl_Wayland_Screen_Driver.H" #include "Fl_Wayland_Screen_Driver.H"
#include "Fl_Wayland_Window_Driver.H" #include "Fl_Wayland_Window_Driver.H"
#include "Fl_Wayland_Graphics_Driver.H" #include "Fl_Wayland_Graphics_Driver.H"

View File

@ -14,7 +14,6 @@
// https://www.fltk.org/bugs.php // https://www.fltk.org/bugs.php
// //
#include <config.h>
#include <FL/platform.H> #include <FL/platform.H>
#include "Fl_Wayland_Window_Driver.H" #include "Fl_Wayland_Window_Driver.H"
#include "Fl_Wayland_Screen_Driver.H" #include "Fl_Wayland_Screen_Driver.H"

View File

@ -16,7 +16,6 @@
#if !defined(FL_DOXYGEN) #if !defined(FL_DOXYGEN)
# include <config.h>
# include <FL/Fl.H> # include <FL/Fl.H>
# include <FL/platform.H> # include <FL/platform.H>
# include <FL/Fl_Window.H> # include <FL/Fl_Window.H>

View File

@ -14,7 +14,7 @@
// https://www.fltk.org/bugs.php // https://www.fltk.org/bugs.php
// //
#include <config.h> #include <FL/fl_config.h>
#include "Fl_Wayland_Copy_Surface_Driver.H" #include "Fl_Wayland_Copy_Surface_Driver.H"
#include "Fl_Wayland_Graphics_Driver.H" #include "Fl_Wayland_Graphics_Driver.H"
#include "Fl_Wayland_Screen_Driver.H" #include "Fl_Wayland_Screen_Driver.H"