Fix compilation errors when HAVE_GIF and not HAVE_WEBP

* src/image.c: Enable the cache functions when HAVE_GIF, too
This commit is contained in:
Lars Ingebrigtsen
2022-04-11 14:54:31 +02:00
parent 8b7aaf3e56
commit 0347969bdf

View File

@@ -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. */