summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2022-04-11 14:54:31 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2022-04-11 14:54:31 +0200
commit0347969bdfa3ec689c49537a7b29f4a506f732a2 (patch)
treede31b5194d0e8e2db3abc808d8ba7de76d6338c9
parent8b7aaf3e56c63cae7e2affc249179e5022451595 (diff)
downloademacs-0347969bdfa3ec689c49537a7b29f4a506f732a2.tar.gz
Fix compilation errors when HAVE_GIF and not HAVE_WEBP
* src/image.c: Enable the cache functions when HAVE_GIF, too
-rw-r--r--src/image.c2
1 files changed, 1 insertions, 1 deletions
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. */