summaryrefslogtreecommitdiff
path: root/src/eventsmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/eventsmanager.cpp')
-rw-r--r--src/eventsmanager.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/eventsmanager.cpp b/src/eventsmanager.cpp
index 919c8bdbf..c8820487f 100644
--- a/src/eventsmanager.cpp
+++ b/src/eventsmanager.cpp
@@ -25,7 +25,6 @@
#ifndef DYECMD
#include "game.h"
#endif
-#include "logger.h"
#ifdef USE_MUMBLE
#include "mumblemanager.h"
#endif
@@ -40,7 +39,9 @@
#ifdef USE_SDL2
#include "render/graphics.h"
-#endif
+#else // USE_SDL2
+#include "logger.h"
+#endif // USE_SDL2
#include "utils/process.h"