diff options
Diffstat (limited to 'content/handlers/image/image.c')
-rw-r--r-- | content/handlers/image/image.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/content/handlers/image/image.c b/content/handlers/image/image.c index 675fdd691..4eb366e0b 100644 --- a/content/handlers/image/image.c +++ b/content/handlers/image/image.c @@ -35,6 +35,7 @@ #include "image/png.h" #include "image/rsvg.h" #include "image/svg.h" +#include "image/webp.h" #include "image/image.h" /** @@ -94,6 +95,12 @@ nserror image_init(void) return error; #endif +#ifdef WITH_WEBP + error = nswebp_init(); + if (error != NSERROR_OK) + return error; +#endif + return error; } |