From a8dd8379ac57b170ac6b7f9649f89bf2b1a2baf8 Mon Sep 17 00:00:00 2001 From: Lovell Fuller Date: Mon, 8 Feb 2021 20:20:47 +0000 Subject: [PATCH] svgload: remove deprecated librsvg include librsvg >= 2.40.3 includes it for you librsvg >= 2.51.0 removes it entirely --- libvips/foreign/svgload.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/libvips/foreign/svgload.c b/libvips/foreign/svgload.c index fd8eb721..3211967a 100644 --- a/libvips/foreign/svgload.c +++ b/libvips/foreign/svgload.c @@ -80,13 +80,6 @@ */ #define RSVG_MAX_WIDTH (32767) -/* Old librsvg versions don't include librsvg-features.h by default. - * Newer versions deprecate direct inclusion. - */ -#ifndef LIBRSVG_FEATURES_H -#include -#endif - /* A handy #define for we-will-handle-svgz. */ #if LIBRSVG_CHECK_FEATURE(SVGZ) && defined(HAVE_ZLIB)