mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-04-02 15:40:45 +02:00
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:
parent
72f5d6c51a
commit
01aaacd870
1 changed files with 2 additions and 0 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue