aboutsummaryrefslogtreecommitdiff
path: root/src/rhythm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rhythm.c')
-rw-r--r--src/rhythm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rhythm.c b/src/rhythm.c
index 7796a61..f4dcf6c 100644
--- a/src/rhythm.c
+++ b/src/rhythm.c
@@ -26,6 +26,9 @@
#include "m_pd.h"
#include <stdio.h>
#include <math.h>
+#ifdef UNIX
+#include <stdlib.h>
+#endif
#define ALPHA 10
#define ADAPT_ARRAY_SIZE 1000