From d578aa4843d1584b50c67a8f3c415d6cdd711de8 Mon Sep 17 00:00:00 2001 From: Kleis Auke Wolthuizen Date: Thu, 20 Oct 2022 11:15:54 +0200 Subject: [PATCH] Fix build with `-Dwebp=disabled` --- libvips/foreign/webpsave.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libvips/foreign/webpsave.c b/libvips/foreign/webpsave.c index f39c9a19e6..a73b8096b1 100644 --- a/libvips/foreign/webpsave.c +++ b/libvips/foreign/webpsave.c @@ -71,8 +71,6 @@ #endif /*HAVE_CONFIG_H*/ #include -#ifdef HAVE_LIBWEBP - #include #include #include @@ -82,6 +80,8 @@ #include "pforeign.h" +#ifdef HAVE_LIBWEBP + #include #include #include