From: rwst Date: Sat, 24 Jun 2006 18:08:56 +0000 (+0000) Subject: more compiler hints for gtk-2.4 systems to cope with glibmm/i18n.h X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7e750e9f3e28d571712653c58ed764f8dc00b18c;p=inkscape.git more compiler hints for gtk-2.4 systems to cope with glibmm/i18n.h --- diff --git a/src/extension/dependency.cpp b/src/extension/dependency.cpp index 6db57174c..5a8046613 100644 --- a/src/extension/dependency.cpp +++ b/src/extension/dependency.cpp @@ -8,6 +8,10 @@ */ +extern "C" { // glib-2.4 needs this +#include +} + #include #include "config.h" diff --git a/src/gradient-drag.cpp b/src/gradient-drag.cpp index cb61a9890..0c0e139f7 100644 --- a/src/gradient-drag.cpp +++ b/src/gradient-drag.cpp @@ -11,6 +11,10 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ +extern "C" { // glib-2.4 needs this +#include +} + #include #include "desktop-handles.h" diff --git a/src/ui/widget/ruler.cpp b/src/ui/widget/ruler.cpp index 8109ef5f5..fbed6c845 100644 --- a/src/ui/widget/ruler.cpp +++ b/src/ui/widget/ruler.cpp @@ -12,6 +12,10 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ +extern "C" { // glib-2.4 needs this +#include +} + #include #include