aboutsummaryrefslogtreecommitdiff
path: root/pd/src/x_list.c
diff options
context:
space:
mode:
Diffstat (limited to 'pd/src/x_list.c')
-rw-r--r--pd/src/x_list.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/pd/src/x_list.c b/pd/src/x_list.c
index a08fe193..16de0286 100644
--- a/pd/src/x_list.c
+++ b/pd/src/x_list.c
@@ -4,7 +4,12 @@
#include "m_pd.h"
/* #include <string.h> */
+#ifdef MSW
+#include <malloc.h>
+#else
#include <alloca.h>
+#endif
+
extern t_pd *newest;
#define HAVE_ALLOCA 1 /* LATER this should be set by configure script! */