From: anthony Date: Mon, 18 Mar 2013 00:53:33 +0000 (+0000) Subject: Allow older versions of SVG library X-Git-Tag: 7.0.1-0~4060 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b17d164a1ecdd4b87e274732b041caeb35aa7808;p=imagemagick Allow older versions of SVG library --- diff --git a/coders/svg.c b/coders/svg.c index f1738aa53..7cc54a360 100644 --- a/coders/svg.c +++ b/coders/svg.c @@ -93,7 +93,10 @@ #if defined(MAGICKCORE_RSVG_DELEGATE) #include "librsvg/rsvg.h" -#if !LIBRSVG_CHECK_VERSION(2,36,2) +#if !defined(LIBRSVG_CHECK_VERSION) +#include "librsvg/rsvg-cairo.h" +#include "librsvg/librsvg-features.h" +#elif !LIBRSVG_CHECK_VERSION(2,36,2) #include "librsvg/rsvg-cairo.h" #include "librsvg/librsvg-features.h" #endif