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/util/forward-pointer-iterator.h | 1 + src/util/share.h | 1 + src/util/unordered-containers.h | 2 ++ 3 files changed, 4 insertions(+) (limited to 'src/util') diff --git a/src/util/forward-pointer-iterator.h b/src/util/forward-pointer-iterator.h index 198225d5f..4d1cfa413 100644 --- a/src/util/forward-pointer-iterator.h +++ b/src/util/forward-pointer-iterator.h @@ -15,6 +15,7 @@ #define SEEN_INKSCAPE_UTIL_FORWARD_POINTER_ITERATOR_H #include +#include #include "util/reference.h" namespace Inkscape { diff --git a/src/util/share.h b/src/util/share.h index 4891b9588..6b5e6a4ef 100644 --- a/src/util/share.h +++ b/src/util/share.h @@ -14,6 +14,7 @@ #include "gc-core.h" #include +#include namespace Inkscape { namespace Util { diff --git a/src/util/unordered-containers.h b/src/util/unordered-containers.h index 9411657a5..6f738f0ce 100644 --- a/src/util/unordered-containers.h +++ b/src/util/unordered-containers.h @@ -41,6 +41,8 @@ # define INK_UNORDERED_MAP __gnu_cxx::hash_map # define INK_HASH __gnu_cxx::hash +#include + namespace __gnu_cxx { // hash function for pointers // TR1 and Boost have this defined by default, __gnu_cxx doesn't -- cgit v1.2.3