]> granicus.if.org Git - imagemagick/commitdiff
Allow older versions of SVG library
authoranthony <anthony@git.imagemagick.org>
Mon, 18 Mar 2013 00:53:33 +0000 (00:53 +0000)
committeranthony <anthony@git.imagemagick.org>
Mon, 18 Mar 2013 00:53:33 +0000 (00:53 +0000)
coders/svg.c

index f1738aa534276ba9728801baa71143d4f050e3b8..7cc54a360c92938c75d510ddf0ca75c3709406a9 100644 (file)
 
 #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