diff options
Diffstat (limited to 'libspeex')
-rwxr-xr-x[-rw-r--r--] | libspeex/scal.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libspeex/scal.c b/libspeex/scal.c index 1ddaba2..358f817 100644..100755 --- a/libspeex/scal.c +++ b/libspeex/scal.c @@ -52,6 +52,10 @@ The algorithm implemented here is described in: #include <math.h> #include <stdlib.h> +#ifndef M_PI +#define M_PI 3.14159265358979323846 /* pi */ +#endif + #define ALLPASS_ORDER 20 struct SpeexDecorrState_ { |