]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix compilation errors when HAVE_GIF and not HAVE_WEBP
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 11 Apr 2022 12:54:31 +0000 (14:54 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 11 Apr 2022 12:54:31 +0000 (14:54 +0200)
* src/image.c: Enable the cache functions when HAVE_GIF, too

src/image.c

index 967263e2c6073d702641e81660f64ef66f8ed566..4b2a038cc14ff501915f2c5a5594eb71dda0541e 100644 (file)
@@ -8433,7 +8433,7 @@ tiff_load (struct frame *f, struct image *img)
 \f
 
 
-#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.  */