aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-05-15 18:50:32 -0700
committerChris Robinson <[email protected]>2018-05-15 18:50:32 -0700
commite42489b3e9e88311b35e738098d71906fa4bfd8e (patch)
tree5962315126dd563c3efd90e5b921fa94fd98200e /common
parent2b9064cb6e4ec08b00619f5d61fd81d2a4f2c4f2 (diff)
Include math_defs.h to ensure M_PI is defined
Diffstat (limited to 'common')
-rw-r--r--common/alcomplex.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/common/alcomplex.c b/common/alcomplex.c
index c1a312e3..d68277e3 100644
--- a/common/alcomplex.c
+++ b/common/alcomplex.c
@@ -2,8 +2,7 @@
#include "config.h"
#include "alcomplex.h"
-
-#include <math.h>
+#include "math_defs.h"
extern inline ALcomplex complex_add(ALcomplex a, ALcomplex b);