diff options
Diffstat (limited to 'src/dyetool/dyemain.cpp')
-rw-r--r-- | src/dyetool/dyemain.cpp | 7 |
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" |