summaryrefslogtreecommitdiff
path: root/content/handlers/image/png.c
diff options
context:
space:
mode:
Diffstat (limited to 'content/handlers/image/png.c')
-rw-r--r--content/handlers/image/png.c15
1 files changed, 10 insertions, 5 deletions
diff --git a/content/handlers/image/png.c b/content/handlers/image/png.c
index 04083d8a4..45f415a6b 100644
--- a/content/handlers/image/png.c
+++ b/content/handlers/image/png.c
@@ -25,9 +25,10 @@
#include "utils/utils.h"
#include "utils/log.h"
#include "utils/messages.h"
+#include "netsurf/bitmap.h"
+#include "content/llcache.h"
#include "content/content_protected.h"
#include "desktop/gui_internal.h"
-#include "netsurf/bitmap.h"
#include "image_cache.h"
#include "png.h"
@@ -277,10 +278,14 @@ static nserror nspng_create_png_data(nspng_content *png_c)
return NSERROR_OK;
}
-static nserror nspng_create(const content_handler *handler,
- lwc_string *imime_type, const struct http_parameter *params,
- llcache_handle *llcache, const char *fallback_charset,
- bool quirks, struct content **c)
+static nserror
+nspng_create(const content_handler *handler,
+ lwc_string *imime_type,
+ const struct http_parameter *params,
+ struct llcache_handle *llcache,
+ const char *fallback_charset,
+ bool quirks,
+ struct content **c)
{
nspng_content *png_c;
nserror error;