aboutsummaryrefslogtreecommitdiff
path: root/src/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/window.c b/src/window.c
index 0d00402..6fe9a18 100644
--- a/src/window.c
+++ b/src/window.c
@@ -25,6 +25,10 @@
#include <math.h>
+#ifndef M_PI
+#define M_PI 3.14159265358979323846264338327
+#endif
+
#include "xtract_window_private.h"
void gauss(double *window, const int N, const double sd)