From 6075feb4875ed2035de460fcdc7858f314ad0bef Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sat, 21 Jan 2017 14:20:55 +0000 Subject: create netsurf inttypes header to have portable integer formatting macros --- content/handlers/image/image_cache.c | 2 +- content/handlers/image/png.c | 1 + content/handlers/javascript/duktape/dukky.c | 7 +++---- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'content/handlers') diff --git a/content/handlers/image/image_cache.c b/content/handlers/image/image_cache.c index 9c7ce2200..02107f75f 100644 --- a/content/handlers/image/image_cache.c +++ b/content/handlers/image/image_cache.c @@ -22,12 +22,12 @@ */ #include -#include #include #include #include #include +#include "netsurf/inttypes.h" #include "utils/utils.h" #include "utils/log.h" #include "netsurf/misc.h" diff --git a/content/handlers/image/png.c b/content/handlers/image/png.c index 93185c12f..0baf411bf 100644 --- a/content/handlers/image/png.c +++ b/content/handlers/image/png.c @@ -22,6 +22,7 @@ #include #include +#include "netsurf/inttypes.h" #include "utils/utils.h" #include "utils/log.h" #include "utils/messages.h" diff --git a/content/handlers/javascript/duktape/dukky.c b/content/handlers/javascript/duktape/dukky.c index 7dd3bd71e..1282ad9fe 100644 --- a/content/handlers/javascript/duktape/dukky.c +++ b/content/handlers/javascript/duktape/dukky.c @@ -23,16 +23,15 @@ * Duktapeish implementation of javascript engine functions. */ -#include - +#include #include -#include "content/content.h" - +#include "netsurf/inttypes.h" #include "utils/utils.h" #include "utils/nsoption.h" #include "utils/log.h" #include "utils/corestrings.h" +#include "content/content.h" #include "javascript/js.h" #include "javascript/content.h" -- cgit v1.2.3