From 01aaacd870115cbcbc0492c1afdbbd764d2c32fd Mon Sep 17 00:00:00 2001 From: Bryce Harrington Date: Tue, 18 Feb 2014 18:10:20 -0800 Subject: [PATCH] test: Quell warning for inclusion of old rsvg header files This silences a warning due to header file deprecated as of libsrvg 2.36.2. Tested and verified this hackaround on librsvg 2.36.4 and 2.36.1. No need to change version dependencies. In file included from test/any2ppm.c:73:0: /usr/include/librsvg-2.0/librsvg/rsvg-cairo.h:27:2: warning: #warning "Including directly is deprecated." Reviewed-by: Chris Wilson --- test/any2ppm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/any2ppm.c b/test/any2ppm.c index db0240f85..db7f59ea3 100644 --- a/test/any2ppm.c +++ b/test/any2ppm.c @@ -70,8 +70,10 @@ #if CAIRO_CAN_TEST_SVG_SURFACE #include +#ifndef RSVG_CAIRO_H #include #endif +#endif #if CAIRO_HAS_SPECTRE #include