summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/netsurf/inttypes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/netsurf/inttypes.h b/include/netsurf/inttypes.h
index 874d83f3d..3a16d0ef1 100644
--- a/include/netsurf/inttypes.h
+++ b/include/netsurf/inttypes.h
@@ -34,6 +34,10 @@
#define PRId64 "lld"
#endif
+#ifndef PRIu64
+#define PRIu64 "llu"
+#endif
+
/* Windows does not have sizet formating codes */
#if defined(_WIN32)