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