Skip to content

Commit 9e8813e

Browse files
committed
Add include of cairo.h when using librsvg
This should be compatible with both old and new librsvg versions.
1 parent 718b4c7 commit 9e8813e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

obrender/image.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
#include <Imlib2.h>
2626
#endif
2727
#ifdef USE_LIBRSVG
28+
#include <cairo.h>
2829
#include <librsvg/rsvg.h>
2930
#endif
3031

0 commit comments

Comments
 (0)