summaryrefslogtreecommitdiff
path: root/src/utils/mathutils.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-15 19:00:59 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-15 19:00:59 +0300
commit39e19833f3cdb67b53544f3a8787628e484a50ef (patch)
tree20758d2591927e2147d343cf44b8ef39cd8045c5 /src/utils/mathutils.h
parent5273b0bc8dcc2adbf8557a4008c63e50955884fe (diff)
downloadplus-39e19833f3cdb67b53544f3a8787628e484a50ef.tar.gz
plus-39e19833f3cdb67b53544f3a8787628e484a50ef.tar.bz2
plus-39e19833f3cdb67b53544f3a8787628e484a50ef.tar.xz
plus-39e19833f3cdb67b53544f3a8787628e484a50ef.zip
Fix other include issues.
Diffstat (limited to 'src/utils/mathutils.h')
-rw-r--r--src/utils/mathutils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/utils/mathutils.h b/src/utils/mathutils.h
index 4bc3cf104..c2578e487 100644
--- a/src/utils/mathutils.h
+++ b/src/utils/mathutils.h
@@ -24,7 +24,10 @@
#define UTILS_MATHUTILS_H
#include <string>
+
+#ifndef USE_SDL2
#include <cmath>
+#endif
#include "localconsts.h"