summaryrefslogtreecommitdiff
path: root/src/logger.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/logger.h')
-rw-r--r--src/logger.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/logger.h b/src/logger.h
index 557116df2..aafe50428 100644
--- a/src/logger.h
+++ b/src/logger.h
@@ -23,6 +23,8 @@
#ifndef LOGGER_H
#define LOGGER_H
+#include "localconsts.h"
+
#ifdef USE_SDL2
PRAGMA45(GCC diagnostic push)
PRAGMA45(GCC diagnostic ignored "-Wswitch-default")
@@ -39,8 +41,6 @@ PRAGMA45(GCC diagnostic pop)
#include <fstream>
#include <vector>
-#include "localconsts.h"
-
#ifdef ENABLEDEBUGLOG
#define DEBUGLOG(str) \
if (logger && !mIgnore) \