diff options
| author | Lars Ingebrigtsen | 2022-04-11 14:54:31 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2022-04-11 14:54:31 +0200 |
| commit | 0347969bdfa3ec689c49537a7b29f4a506f732a2 (patch) | |
| tree | de31b5194d0e8e2db3abc808d8ba7de76d6338c9 /src | |
| parent | 8b7aaf3e56c63cae7e2affc249179e5022451595 (diff) | |
| download | emacs-0347969bdfa3ec689c49537a7b29f4a506f732a2.tar.gz emacs-0347969bdfa3ec689c49537a7b29f4a506f732a2.zip | |
Fix compilation errors when HAVE_GIF and not HAVE_WEBP
* src/image.c: Enable the cache functions when HAVE_GIF, too
Diffstat (limited to 'src')
| -rw-r--r-- | src/image.c | 2 |
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) | |||
| 8433 | 8433 | ||
| 8434 | 8434 | ||
| 8435 | 8435 | ||
| 8436 | #if defined (HAVE_WEBP) | 8436 | #if defined (HAVE_WEBP) || defined (HAVE_GIF) |
| 8437 | 8437 | ||
| 8438 | /* To speed animations up, we keep a cache (based on EQ-ness of the | 8438 | /* To speed animations up, we keep a cache (based on EQ-ness of the |
| 8439 | image spec/object) where we put the animator iterator. */ | 8439 | image spec/object) where we put the animator iterator. */ |