diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-06-04 03:21:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-06-04 03:21:57 +0300 |
commit | 485ba81a87c50c23d1f97318e42f4937af1fda1f (patch) | |
tree | b1b85f22e9bf2ea10e5fcddf3000506d207015fe /src/resources | |
parent | 554210becbfc9de611699889a3fd0f53525a1b83 (diff) | |
download | mv-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/resources')
-rw-r--r-- | src/resources/db/itemfielddb.h | 1 | ||||
-rw-r--r-- | src/resources/dye/dyepalette.cpp | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/resources/db/itemfielddb.h b/src/resources/db/itemfielddb.h index 18fa516b5..dc95e9558 100644 --- a/src/resources/db/itemfielddb.h +++ b/src/resources/db/itemfielddb.h @@ -24,6 +24,7 @@ #include "enums/simpletypes/skiperror.h" #include <map> +#include <string> #include "localconsts.h" diff --git a/src/resources/dye/dyepalette.cpp b/src/resources/dye/dyepalette.cpp index 930f23723..9b2a2a8a8 100644 --- a/src/resources/dye/dyepalette.cpp +++ b/src/resources/dye/dyepalette.cpp @@ -30,7 +30,9 @@ #include "utils/stringutils.h" +#ifndef USE_SDL2 #include <cmath> +#endif // USE_SDL2 #include <SDL_endian.h> |