summaryrefslogtreecommitdiff
path: root/src/utils/buildhex.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/buildhex.h')
-rw-r--r--src/utils/buildhex.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/buildhex.h b/src/utils/buildhex.h
index 3ee72d28c..39a9aa817 100644
--- a/src/utils/buildhex.h
+++ b/src/utils/buildhex.h
@@ -21,6 +21,8 @@
#ifndef UTILS_BUILDHEX_H
#define UTILS_BUILDHEX_H
+#include "localconsts.h"
+
#ifdef USE_SDL2
PRAGMA45(GCC diagnostic push)
PRAGMA45(GCC diagnostic ignored "-Wswitch-default")
@@ -37,8 +39,6 @@ PRAGMA45(GCC diagnostic pop)
#include <SDL_endian.h>
#endif // SDL_BYTEORDER
-#include "localconsts.h"
-
#if SDL_BYTEORDER == SDL_BIG_ENDIAN
#define buildHex(a, b, c, d) \
(d) * 16777216U + (c) * 65536U + (b) * 256U + CAST_U32(a)