summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZephiles <cae222@yahoo.com>2022-05-23 22:47:41 -0500
committerZephiles <cae222@yahoo.com>2022-05-23 22:50:49 -0500
commit82368e9ff2e6643d99ddb6946b300027f4851561 (patch)
tree6a559b02846099d40f9da25c564e52168774cfa9
parent442e696d0a5be973e240b3ffcbd38919a4fd6618 (diff)
Fix header inclusion order for 64 bit format constants
If cinttypes is included before cstdio, then 64 bit format constants will not be usable.
-rw-r--r--source/display/console.cpp6
-rw-r--r--source/tools.cpp4
2 files changed, 5 insertions, 5 deletions
diff --git a/source/display/console.cpp b/source/display/console.cpp
index 9509a98..8932eea 100644
--- a/source/display/console.cpp
+++ b/source/display/console.cpp
@@ -1,10 +1,10 @@
#include "display/console.h"
-#include <cinttypes>
-#include <cstddef>
#include <cstdint>
-#include <cstdio>
+#include <cstddef>
#include <cstring>
+#include <cstdio>
+#include <cinttypes>
#include "tp/JFWSystem.h"
diff --git a/source/tools.cpp b/source/tools.cpp
index af345f9..8b2c215 100644
--- a/source/tools.cpp
+++ b/source/tools.cpp
@@ -1,9 +1,9 @@
#include "tools.h"
-#include <cinttypes>
#include <cstdint>
-#include <cstdio>
#include <cstring>
+#include <cstdio>
+#include <cinttypes>
#ifndef PLATFORM_WII
#include "gc_wii/card.h"