From 0c1099d6d840dfa470741f4e710c4ae63cecc26e Mon Sep 17 00:00:00 2001 From: Po Lu Date: Sun, 9 Jan 2022 05:00:37 +0000 Subject: [PATCH] * src/image.c (syms_of_image): Declare support for webp on Haiku. --- src/image.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/image.c b/src/image.c index e7d347b7820..700705de22e 100644 --- a/src/image.c +++ b/src/image.c @@ -11457,7 +11457,8 @@ non-numeric, there is no explicit limit on the size of images. */); add_image_type (Qpng); #endif -#if defined (HAVE_WEBP) +#if defined (HAVE_WEBP) || (defined (HAVE_NATIVE_IMAGE_API) \ + && defined (HAVE_BE_APP)) DEFSYM (Qwebp, "webp"); add_image_type (Qwebp); #endif -- 2.39.2