summaryrefslogtreecommitdiff
path: root/src/gui/windowmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-05-31 01:48:18 +0300
committerAndrei Karas <akaras@inbox.ru>2016-05-31 01:48:18 +0300
commitd53b058ec3f6208f34884ed572bb5d47de932108 (patch)
tree980acf66aaa3b5df6b7e3e7e08dfccc0b9af8827 /src/gui/windowmanager.cpp
parent4530a341c65ac12e50075fb3e3d6166cd2e1fe3b (diff)
downloadmv-d53b058ec3f6208f34884ed572bb5d47de932108.tar.gz
mv-d53b058ec3f6208f34884ed572bb5d47de932108.tar.bz2
mv-d53b058ec3f6208f34884ed572bb5d47de932108.tar.xz
mv-d53b058ec3f6208f34884ed572bb5d47de932108.zip
Fix different include issues.
Diffstat (limited to 'src/gui/windowmanager.cpp')
-rw-r--r--src/gui/windowmanager.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/windowmanager.cpp b/src/gui/windowmanager.cpp
index 479c8d2ca..9176c448a 100644
--- a/src/gui/windowmanager.cpp
+++ b/src/gui/windowmanager.cpp
@@ -35,7 +35,9 @@
#include "gui/popups/textpopup.h"
-#ifndef DYECMD
+#ifdef DYECMD
+#include "render/graphics.h"
+#else // DYECMD
#include "gui/popups/beingpopup.h"
#include "gui/popups/itempopup.h"
#include "gui/popups/popupmenu.h"
@@ -46,7 +48,7 @@
#include "gui/windows/didyouknowwindow.h"
#include "gui/windows/helpwindow.h"
#include "gui/windows/setupwindow.h"
-#endif
+#endif // DYECMD
#include "gui/widgets/createwidget.h"
#include "gui/widgets/desktop.h"
@@ -61,8 +63,6 @@
#include "utils/naclmessages.h"
#endif // __native_client__
-#include "render/graphics.h"
-
#ifdef ANDROID
#ifndef USE_SDL2
#include <SDL_screenkeyboard.h>