From 76ad5cbf7bbdd4272b2d49387fdc10ca808767d7 Mon Sep 17 00:00:00 2001 From: Adib Taraben Date: Sun, 27 Feb 2011 21:48:16 +0100 Subject: compatibility patch to compile using gcc 4.6 Fixed bugs: - https://launchpad.net/bugs/707205 (bzr r10070.1.1) --- src/widgets/desktop-widget.h | 1 + src/widgets/gradient-image.h | 1 + src/widgets/gradient-vector.h | 1 + src/widgets/sp-attribute-widget.h | 1 + src/widgets/sp-color-notebook.cpp | 1 + 5 files changed, 5 insertions(+) (limited to 'src/widgets') diff --git a/src/widgets/desktop-widget.h b/src/widgets/desktop-widget.h index 1bb10fc51..0102897e5 100644 --- a/src/widgets/desktop-widget.h +++ b/src/widgets/desktop-widget.h @@ -22,6 +22,7 @@ #include "ui/view/view-widget.h" #include "ui/view/edit-widget-interface.h" +#include #include // forward declaration diff --git a/src/widgets/gradient-image.h b/src/widgets/gradient-image.h index d0864b6e8..7b3854a02 100644 --- a/src/widgets/gradient-image.h +++ b/src/widgets/gradient-image.h @@ -19,6 +19,7 @@ class SPGradient; #include +#include #include #define SP_TYPE_GRADIENT_IMAGE (sp_gradient_image_get_type ()) diff --git a/src/widgets/gradient-vector.h b/src/widgets/gradient-vector.h index 9147f9cc1..012d4e9a3 100644 --- a/src/widgets/gradient-vector.h +++ b/src/widgets/gradient-vector.h @@ -17,6 +17,7 @@ #include +#include #include #include diff --git a/src/widgets/sp-attribute-widget.h b/src/widgets/sp-attribute-widget.h index 2703bd98a..617c5b012 100644 --- a/src/widgets/sp-attribute-widget.h +++ b/src/widgets/sp-attribute-widget.h @@ -14,6 +14,7 @@ #define SEEN_DIALOGS_SP_ATTRIBUTE_WIDGET_H #include +#include #include #define SP_TYPE_ATTRIBUTE_WIDGET (sp_attribute_widget_get_type ()) diff --git a/src/widgets/sp-color-notebook.cpp b/src/widgets/sp-color-notebook.cpp index 8429434a6..174971555 100644 --- a/src/widgets/sp-color-notebook.cpp +++ b/src/widgets/sp-color-notebook.cpp @@ -22,6 +22,7 @@ #include #include #include +#include #include #include -- cgit v1.2.3