aboutsummaryrefslogtreecommitdiffstats
path: root/utils/makehrtf.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/makehrtf.c')
-rw-r--r--utils/makehrtf.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/makehrtf.c b/utils/makehrtf.c
index 53ee46dd..a5debab7 100644
--- a/utils/makehrtf.c
+++ b/utils/makehrtf.c
@@ -15,6 +15,10 @@
#include "AL/al.h"
+#ifndef M_PI
+#define M_PI 3.14159265358979323846
+#endif
+
// The sample rate of the MIT HRIR data sets.
#define MIT_IR_RATE (44100)