aboutsummaryrefslogtreecommitdiff
path: root/src/IO/mime.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/IO/mime.c')
-rw-r--r--src/IO/mime.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/IO/mime.c b/src/IO/mime.c
index 1f6a3d47..3d88429e 100644
--- a/src/IO/mime.c
+++ b/src/IO/mime.c
@@ -108,6 +108,9 @@ void a_Mime_init(void)
Mime_add_minor_type("image/png", a_Dicache_png_image);
Mime_add_minor_type("image/x-png", a_Dicache_png_image); /* deprecated */
#endif
+#ifdef ENABLE_WEBP
+ Mime_add_minor_type("image/webp", a_Dicache_webp_image);
+#endif
#ifdef ENABLE_SVG
Mime_add_minor_type("image/svg+xml", a_Dicache_svg_image);
#endif