Skip to content

Commit

Permalink
Fix build with librsvg
Browse files Browse the repository at this point in the history
  • Loading branch information
kleisauke committed Jan 17, 2023
1 parent d15c1ed commit bc9dd66
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libvips/foreign/svgload.c
Original file line number Diff line number Diff line change
Expand Up @@ -936,6 +936,7 @@ vips_foreign_load_svg_file_is_a( const char *filename )
vips_foreign_load_svg_is_a( buf, bytes ) );
}

#ifndef HAVE_RSVG
static const char *
resvg_error_msg( resvg_error e ) {
switch( e ) {
Expand All @@ -955,6 +956,7 @@ resvg_error_msg( resvg_error e ) {
return "unknown error";
}
}
#endif

static int
vips_foreign_load_svg_file_header( VipsForeignLoad *load )
Expand Down

0 comments on commit bc9dd66

Please sign in to comment.