summaryrefslogtreecommitdiff
path: root/src/eventsmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-04 03:21:57 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-04 03:21:57 +0300
commit485ba81a87c50c23d1f97318e42f4937af1fda1f (patch)
treeb1b85f22e9bf2ea10e5fcddf3000506d207015fe /src/eventsmanager.cpp
parent554210becbfc9de611699889a3fd0f53525a1b83 (diff)
downloadmv-485ba81a87c50c23d1f97318e42f4937af1fda1f.tar.gz
mv-485ba81a87c50c23d1f97318e42f4937af1fda1f.tar.bz2
mv-485ba81a87c50c23d1f97318e42f4937af1fda1f.tar.xz
mv-485ba81a87c50c23d1f97318e42f4937af1fda1f.zip
Remove some useless includes if using SDL2.
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"