$NetBSD: patch-src_m__binbuf.c,v 1.1.1.1 2011/09/15 01:05:05 wiz Exp $ alloca.h is not portable. --- src/m_binbuf.c.orig 2011-03-10 06:02:41.000000000 +0000 +++ src/m_binbuf.c @@ -530,10 +530,10 @@ done: #define SMALLMSG 5 #define HUGEMSG 1000 -#ifdef MSW -#include -#else +#if defined(HAVE_ALLOCA_H) #include +#elsif defined(HAVE_MALLOC_H) +#include #endif #if HAVE_ALLOCA #define ATOMS_ALLOCA(x, n) ((x) = (t_atom *)((n) < HUGEMSG ? \