From: Lars Ingebrigtsen Date: Mon, 11 Apr 2022 12:54:31 +0000 (+0200) Subject: Fix compilation errors when HAVE_GIF and not HAVE_WEBP X-Git-Tag: emacs-29.0.90~1931^2~660 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0347969bdfa3ec689c49537a7b29f4a506f732a2;p=emacs.git Fix compilation errors when HAVE_GIF and not HAVE_WEBP * src/image.c: Enable the cache functions when HAVE_GIF, too --- 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. */