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