From 0347969bdfa3ec689c49537a7b29f4a506f732a2 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Mon, 11 Apr 2022 14:54:31 +0200 Subject: [PATCH] Fix compilation errors when HAVE_GIF and not HAVE_WEBP * src/image.c: Enable the cache functions when HAVE_GIF, too --- src/image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/image.c b/src/image.c index 967263e2c60..4b2a038cc14 100644 --- a/src/image.c +++ b/src/image.c @@ -8433,7 +8433,7 @@ tiff_load (struct frame *f, struct image *img) -#if defined (HAVE_WEBP) +#if defined (HAVE_WEBP) || defined (HAVE_GIF) /* To speed animations up, we keep a cache (based on EQ-ness of the image spec/object) where we put the animator iterator. */ -- 2.39.5