summaryrefslogtreecommitdiff
path: root/funcs
diff options
context:
space:
mode:
Diffstat (limited to 'funcs')
-rw-r--r--funcs/func_pitchshift.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/funcs/func_pitchshift.c b/funcs/func_pitchshift.c
index ebeceb60e..7b7c9a2ca 100644
--- a/funcs/func_pitchshift.c
+++ b/funcs/func_pitchshift.c
@@ -108,7 +108,9 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
</function>
***/
+#ifndef M_PI
#define M_PI 3.14159265358979323846
+#endif
#define MAX_FRAME_LENGTH 256
#define HIGHEST 2