summaryrefslogtreecommitdiff
path: root/src/utils/physfsrwops.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/physfsrwops.h')
-rw-r--r--src/utils/physfsrwops.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/physfsrwops.h b/src/utils/physfsrwops.h
index f3eefe0a5..b72c5969d 100644
--- a/src/utils/physfsrwops.h
+++ b/src/utils/physfsrwops.h
@@ -25,6 +25,8 @@
#ifndef UTILS_PHYSFSRWOPS_H
#define UTILS_PHYSFSRWOPS_H
+#include "localconsts.h"
+
#ifdef USE_SDL2
PRAGMA45(GCC diagnostic push)
PRAGMA45(GCC diagnostic ignored "-Wswitch-default")
@@ -40,8 +42,6 @@ PRAGMA45(GCC diagnostic pop)
#include "utils/physfstools.h"
-#include "localconsts.h"
-
/**
* Open a platform-independent filename for reading, and make it accessible
* via an SDL_RWops structure. The file will be closed in PhysicsFS when the