Add include of cairo.h when using librsvg This should be compatible with both old and new librsvg versions.
Mikael Magnusson mikachu@gmail.com
1 files changed,
1 insertions(+),
0 deletions(-)
jump to
M
obrender/image.c
→
obrender/image.c
@@ -25,6 +25,7 @@ #ifdef USE_IMLIB2
#include <Imlib2.h> #endif #ifdef USE_LIBRSVG +#include <cairo.h> #include <librsvg/rsvg.h> #endif