summaryrefslogtreecommitdiff
path: root/src/SSystem/SComponent/c_math.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/SSystem/SComponent/c_math.cpp')
-rw-r--r--src/SSystem/SComponent/c_math.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SSystem/SComponent/c_math.cpp b/src/SSystem/SComponent/c_math.cpp
index 38d6cbdff1..49866b3684 100644
--- a/src/SSystem/SComponent/c_math.cpp
+++ b/src/SSystem/SComponent/c_math.cpp
@@ -5,7 +5,7 @@
#include "SSystem/SComponent/c_math.h"
#include "SSystem/SComponent/c_m3d.h"
-#include <cmath.h>
+#include <math.h>
s16 cM_rad2s(f32 rad) {
s32 s = (std::fmod(rad, 2 * M_PI) * (0x8000 / M_PI));