summaryrefslogtreecommitdiff
path: root/src/gui/palette.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/gui/palette.cpp
parent554210becbfc9de611699889a3fd0f53525a1b83 (diff)
downloadmanaplus-485ba81a87c50c23d1f97318e42f4937af1fda1f.tar.gz
manaplus-485ba81a87c50c23d1f97318e42f4937af1fda1f.tar.bz2
manaplus-485ba81a87c50c23d1f97318e42f4937af1fda1f.tar.xz
manaplus-485ba81a87c50c23d1f97318e42f4937af1fda1f.zip
Remove some useless includes if using SDL2.
Diffstat (limited to 'src/gui/palette.cpp')
-rw-r--r--src/gui/palette.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/palette.cpp b/src/gui/palette.cpp
index cedfb0f86..ef0d33d89 100644
--- a/src/gui/palette.cpp
+++ b/src/gui/palette.cpp
@@ -25,7 +25,9 @@
#include "utils/timer.h"
+#ifndef USE_SDL2
#include <cmath>
+#endif // USE_SDL2
#include "debug.h"