summaryrefslogtreecommitdiff
path: root/src/math/_tgmath.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/_tgmath.h')
-rw-r--r--src/math/_tgmath.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/math/_tgmath.h b/src/math/_tgmath.h
index 8cd7871b..0d6c9551 100644
--- a/src/math/_tgmath.h
+++ b/src/math/_tgmath.h
@@ -68,4 +68,12 @@
#define copysign(_x, _y) (_x < 0 ? -_y : _y)
#endif
+#ifndef M_PI
+#include "M_PI.c"
+#endif
+
+#ifndef M_PI_2
+#include "M_PI_2.c"
+#endif
+
#endif