summaryrefslogtreecommitdiff
path: root/include/libc
diff options
context:
space:
mode:
Diffstat (limited to 'include/libc')
-rw-r--r--include/libc/math.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libc/math.h b/include/libc/math.h
index 8cea459bf..1f2e97736 100644
--- a/include/libc/math.h
+++ b/include/libc/math.h
@@ -1,7 +1,9 @@
#ifndef MATH_H
#define MATH_H
+#ifndef M_PI
#define M_PI 3.14159265358979323846
+#endif
float sinf(float);
double sin(double);