Skip to content

Commit ea0912f

Browse files
authored
Fix build with -Dwebp=disabled (#3106)
1 parent e73f003 commit ea0912f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libvips/foreign/webpsave.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,6 @@
7171
#endif /*HAVE_CONFIG_H*/
7272
#include <glib/gi18n-lib.h>
7373

74-
#ifdef HAVE_LIBWEBP
75-
7674
#include <stdio.h>
7775
#include <stdlib.h>
7876
#include <string.h>
@@ -82,6 +80,8 @@
8280

8381
#include "pforeign.h"
8482

83+
#ifdef HAVE_LIBWEBP
84+
8585
#include <webp/encode.h>
8686
#include <webp/types.h>
8787
#include <webp/mux.h>

0 commit comments

Comments
 (0)