Fix build with -Dwebp=disabled (#3106)

This commit is contained in:
Kleis Auke Wolthuizen 2022-10-20 11:34:08 +02:00 committed by GitHub
parent e73f003d33
commit ea0912f23b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -71,8 +71,6 @@
#endif /*HAVE_CONFIG_H*/
#include <glib/gi18n-lib.h>
#ifdef HAVE_LIBWEBP
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@ -82,6 +80,8 @@
#include "pforeign.h"
#ifdef HAVE_LIBWEBP
#include <webp/encode.h>
#include <webp/types.h>
#include <webp/mux.h>