summaryrefslogtreecommitdiff
path: root/content/handlers/image
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2017-01-21 14:20:55 +0000
committerVincent Sanders <vince@kyllikki.org>2017-01-21 14:20:55 +0000
commit6075feb4875ed2035de460fcdc7858f314ad0bef (patch)
tree9ebc96049523deceef76a4170257ffac8b5b71eb /content/handlers/image
parent11f11e0a7f8f7dd03d5b1fc22a8e54af305fbe6f (diff)
downloadnetsurf-6075feb4875ed2035de460fcdc7858f314ad0bef.tar.gz
netsurf-6075feb4875ed2035de460fcdc7858f314ad0bef.tar.bz2
create netsurf inttypes header to have portable integer formatting macros
Diffstat (limited to 'content/handlers/image')
-rw-r--r--content/handlers/image/image_cache.c2
-rw-r--r--content/handlers/image/png.c1
2 files changed, 2 insertions, 1 deletions
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 <assert.h>
-#include <inttypes.h>
#include <stdint.h>
#include <stdbool.h>
#include <string.h>
#include <stdlib.h>
+#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 <stdlib.h>
#include <png.h>
+#include "netsurf/inttypes.h"
#include "utils/utils.h"
#include "utils/log.h"
#include "utils/messages.h"