summaryrefslogtreecommitdiff
path: root/src/dyetool/dyemain.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/dyetool/dyemain.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/dyetool/dyemain.cpp')
-rw-r--r--src/dyetool/dyemain.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/dyetool/dyemain.cpp b/src/dyetool/dyemain.cpp
index 4625e95fc..9763f603b 100644
--- a/src/dyetool/dyemain.cpp
+++ b/src/dyetool/dyemain.cpp
@@ -26,11 +26,10 @@
#include "resources/image.h"
#include "resources/imagewriter.h"
-#include "resources/sdlimagehelper.h"
#ifdef USE_SDL2
#include "resources/surfaceimagehelper.h"
-#endif
+#endif // USE_SDL2
#include "resources/loaders/imageloader.h"
@@ -41,7 +40,11 @@
#include <iostream>
+#ifndef USE_SDL2
+#include "resources/sdlimagehelper.h"
+
#include <SDL.h>
+#endif // USE_SDL2
#include "debug.h"