From a3d54d5d6cdd4a3cce8398675514c8e06c9ea13a Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Tue, 1 Mar 2016 18:07:12 +0000 Subject: [PATCH] Correct the headers included by FL/Fl_Copy_Surface.H, following the new implementation of this class. This change requires other changes in header inclusions by class Fl_Image_Surface. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11258 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_Copy_Surface.H | 4 +--- FL/Fl_Image_Surface.H | 3 ++- src/Fl_Image_Surface.cxx | 1 + src/drivers/Xlib/Fl_Xlib_Copy_Surface.cxx | 1 + 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/FL/Fl_Copy_Surface.H b/FL/Fl_Copy_Surface.H index 734335e45..5bf679789 100644 --- a/FL/Fl_Copy_Surface.H +++ b/FL/Fl_Copy_Surface.H @@ -19,9 +19,7 @@ #ifndef Fl_Copy_Surface_H #define Fl_Copy_Surface_H -#include -#include -#include +#include /** Supports copying of graphical data to the clipboard. diff --git a/FL/Fl_Image_Surface.H b/FL/Fl_Image_Surface.H index 3a62fb081..20450be55 100644 --- a/FL/Fl_Image_Surface.H +++ b/FL/Fl_Image_Surface.H @@ -19,9 +19,10 @@ #ifndef Fl_Image_Surface_H #define Fl_Image_Surface_H -#include +#include #include #include +#include /** Directs all graphics requests to an Fl_Image. diff --git a/src/Fl_Image_Surface.cxx b/src/Fl_Image_Surface.cxx index f072187e7..5e3b881f1 100644 --- a/src/Fl_Image_Surface.cxx +++ b/src/Fl_Image_Surface.cxx @@ -19,6 +19,7 @@ #include #include #include +#include #include "config_lib.h" #ifdef FL_CFG_GFX_QUARTZ diff --git a/src/drivers/Xlib/Fl_Xlib_Copy_Surface.cxx b/src/drivers/Xlib/Fl_Xlib_Copy_Surface.cxx index 77eb9ecd3..4d9baea83 100644 --- a/src/drivers/Xlib/Fl_Xlib_Copy_Surface.cxx +++ b/src/drivers/Xlib/Fl_Xlib_Copy_Surface.cxx @@ -18,6 +18,7 @@ #include "Fl_Xlib_Copy_Surface.H" #include +#include Fl_Copy_Surface::Helper::Helper(int w, int h) : Fl_Widget_Surface(NULL) { width = w;