FLTK logo

[master] a274e14 - Fix #include statements, remove unnecessary includes

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.commit  ]
 
Previous Message ]Next Message ]

[master] a274e14 - Fix #include statements, remove unnecessary includes "Albrecht Schlosser" Feb 21, 2021  
 
commit a274e1488b520bc2595ea561b5795425740f7346
Author:     Albrecht Schlosser <albrechts.fltk@online.de>
AuthorDate: Sun Feb 21 14:04:44 2021 +0100
Commit:     Albrecht Schlosser <albrechts.fltk@online.de>
CommitDate: Sun Feb 21 14:04:44 2021 +0100

    Fix #include statements, remove unnecessary includes

 src/drivers/Darwin/Fl_Darwin_System_Driver.cxx | 9 +++------
 src/drivers/Posix/Fl_Posix_System_Driver.cxx   | 1 -
 2 files changed, 3 insertions(+), 7 deletions(-)

diff --git src/drivers/Darwin/Fl_Darwin_System_Driver.cxx src/drivers/Darwin/Fl_Darwin_System_Driver.cxx
index f567b34..511b3b0 100644
--- src/drivers/Darwin/Fl_Darwin_System_Driver.cxx
+++ src/drivers/Darwin/Fl_Darwin_System_Driver.cxx
@@ -15,16 +15,13 @@
 //
 
 #include "Fl_Darwin_System_Driver.H"
-#include <src/flstring.h>
-#include <FL/platform.H>
+#include "../Cocoa/Fl_MacOS_Sys_Menu_Bar_Driver.H"
 #include <FL/Fl.H>
 #include <FL/Fl_File_Browser.H>
-#include <FL/filename.H>
-#include <FL/Fl_File_Icon.H>
-#include <FL/Fl_Preferences.H>
 #include <FL/Fl_Tree_Prefs.H>
 #include <FL/Fl_Pixmap.H>
-#include "../Cocoa/Fl_MacOS_Sys_Menu_Bar_Driver.H"
+#include <FL/platform.H>
+#include "../../flstring.h"
 #include <string.h>
 #if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_4
 #include <xlocale.h>
diff --git src/drivers/Posix/Fl_Posix_System_Driver.cxx src/drivers/Posix/Fl_Posix_System_Driver.cxx
index 633794a..b649740 100644
--- src/drivers/Posix/Fl_Posix_System_Driver.cxx
+++ src/drivers/Posix/Fl_Posix_System_Driver.cxx
@@ -17,7 +17,6 @@
 #include <config.h>
 #include "Fl_Posix_System_Driver.H"
 #include "../../flstring.h"
-#include <FL/Fl_File_Browser.H>
 #include <FL/Fl_File_Icon.H>
 #include <FL/filename.H>
 #include <FL/fl_string.h>
Direct Link to Message ]
 
     
Previous Message ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.