aboutsummaryrefslogtreecommitdiff
path: root/src/chord.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/chord.c')
-rw-r--r--src/chord.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/chord.c b/src/chord.c
index f0dc4a3..670ac0a 100644
--- a/src/chord.c
+++ b/src/chord.c
@@ -25,6 +25,10 @@
#include "m_pd.h"
#include <stdio.h>
#include <string.h>
+#ifdef UNIX
+#include <stdlib.h>
+#endif
+
#define MAX_POLY 32 /* maximum number of notes played at a time */