From 7e750e9f3e28d571712653c58ed764f8dc00b18c Mon Sep 17 00:00:00 2001 From: rwst Date: Sat, 24 Jun 2006 18:08:56 +0000 Subject: [PATCH] more compiler hints for gtk-2.4 systems to cope with glibmm/i18n.h --- src/extension/dependency.cpp | 4 ++++ src/gradient-drag.cpp | 4 ++++ src/ui/widget/ruler.cpp | 4 ++++ 3 files changed, 12 insertions(+) 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 -- 2.30.2