From 08677d0cb6a9d7e799e315fd3a6f8ed919ce4d90 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Tue, 29 Mar 2016 19:52:51 +0000 Subject: Clean mac.H of a few useless #include directives. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11468 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/mac.H | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'FL') diff --git a/FL/mac.H b/FL/mac.H index 48fd2255d..0036a2dd9 100644 --- a/FL/mac.H +++ b/FL/mac.H @@ -33,10 +33,9 @@ typedef class FLWindow *Window; // pointer to the FLWindow objective-c class #endif // __OBJC__ #include -#include "src/drivers/Darwin/Fl_Darwin_System_Driver.H" +#include #if !(defined(FL_LIBRARY) || defined(FL_INTERNALS)) // this part is used when compiling an application program -# include typedef struct CGContext* CGContextRef; typedef struct OpaquePMPrintSettings* PMPrintSettings; @@ -107,12 +106,9 @@ struct flCocoaRegion { CGRect *rects; }; // a region is the union of a series of rectangles -# include "Fl_Window.H" +# include # include "../src/Fl_Font.H" -// Some random X equivalents -struct XPoint { int x, y; }; -struct XRectangle {int x, y, width, height;}; #ifndef CGFLOAT_DEFINED //appears with 10.5 in CGBase.h #if defined(__LP64__) && __LP64__ typedef double CGFloat; -- cgit v1.2.3