Fix LibRaw 0.21.0 build

This commit is contained in:
Přemysl Eric Janouch 2022-12-23 17:03:50 +01:00
parent 0317b88c87
commit c063d93dc7
Signed by: p
GPG Key ID: A0420B94F92B9493

View File

@ -1697,6 +1697,11 @@ fail:
#ifdef HAVE_LIBRAW // ---------------------------------------------------------
// LibRaw 0.21.0 compatibility.
#ifndef LIBRAW_OPIONS_NO_MEMERR_CALLBACK
#define LIBRAW_OPIONS_NO_MEMERR_CALLBACK 0
#endif
static cairo_surface_t *
open_libraw(const char *data, gsize len, GError **error)
{