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 <librsvg/rsvg-cairo.h> directly is deprecated."

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Bryce Harrington 2014-02-18 18:10:20 -08:00 committed by Bryce Harrington
parent 72f5d6c51a
commit 01aaacd870

View file

@ -70,8 +70,10 @@
#if CAIRO_CAN_TEST_SVG_SURFACE
#include <librsvg/rsvg.h>
#ifndef RSVG_CAIRO_H
#include <librsvg/rsvg-cairo.h>
#endif
#endif
#if CAIRO_HAS_SPECTRE
#include <libspectre/spectre.h>