summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/fs/virtfs/zip.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/fs/virtfs/zip.cpp b/src/fs/virtfs/zip.cpp
index 7bfaba3fc..5ce90069e 100644
--- a/src/fs/virtfs/zip.cpp
+++ b/src/fs/virtfs/zip.cpp
@@ -35,16 +35,16 @@
#include <zlib.h>
#include <SDL_endian.h>
+#if SDL_BYTEORDER == SDL_BIG_ENDIAN
+#include <byteswap.h>
+#endif // SDL_BYTEORDER == SDL_BIG_ENDIAN
+
#include "debug.h"
#ifndef SDL_BIG_ENDIAN
#error missing SDL_endian.h
#endif // SDL_BYTEORDER
-#if SDL_BYTEORDER == SDL_BIG_ENDIAN
-#include <byteswap.h>
-#endif // SDL_BYTEORDER == SDL_BIG_ENDIAN
-
// #define DEBUG_ZIP
extern const char *dirSeparator;