diff --git a/FL/Fl_Device.H b/FL/Fl_Device.H index 6b19b914d..bb369d917 100644 --- a/FL/Fl_Device.H +++ b/FL/Fl_Device.H @@ -33,18 +33,11 @@ #ifndef Fl_Device_H #define Fl_Device_H -#include #include #include #include #include #include -#ifdef WIN32 -#include -#elif defined(__APPLE__) -#else -#include -#endif class Fl_Graphics_Driver; class Fl_Display_Device; diff --git a/FL/Fl_Paged_Device.H b/FL/Fl_Paged_Device.H index 8de4f623b..1efb2aed1 100644 --- a/FL/Fl_Paged_Device.H +++ b/FL/Fl_Paged_Device.H @@ -33,6 +33,7 @@ #define Fl_Paged_Device_H #include +#include /** \brief Number of elements in enum Page_Format */ #define NO_PAGE_FORMATS 30 /* MSVC6 compilation fix */ diff --git a/FL/Fl_Printer.H b/FL/Fl_Printer.H index 00f85856a..435834f40 100644 --- a/FL/Fl_Printer.H +++ b/FL/Fl_Printer.H @@ -31,6 +31,7 @@ #ifndef Fl_Printer_H #define Fl_Printer_H +#include #include #include #include @@ -39,6 +40,8 @@ #include #if !(defined(__APPLE__) || defined(WIN32)) #include +#elif defined(WIN32) +#include #endif #if defined(__APPLE__) || defined(WIN32) || defined(FL_DOXYGEN) diff --git a/FL/fl_draw.H b/FL/fl_draw.H index ab605c925..71fe6196f 100644 --- a/FL/fl_draw.H +++ b/FL/fl_draw.H @@ -33,9 +33,10 @@ #ifndef fl_draw_H #define fl_draw_H -#include "Enumerations.H" // for the color names -#include "Fl_Window.H" // for fl_set_spot() -#include "Fl_Device.H" +#include // for Fl_Region +#include // for the color names +#include // for fl_set_spot() +#include // for fl_graphics_driver // Image class... class Fl_Image; diff --git a/FL/mac.H b/FL/mac.H index 3883d2758..d85b63bc1 100644 --- a/FL/mac.H +++ b/FL/mac.H @@ -33,6 +33,7 @@ #if !defined(Fl_X_H) # error "Never use directly; include instead." #endif // !Fl_X_H +#include typedef void* Window; // this is really a pointer to the subclass FLWindow of NSWindow typedef void* Fl_Offscreen; // this is really a CGContextRef