$NetBSD: patch-extra_bonk~_bonk~.c,v 1.1.1.1 2011/09/15 01:05:05 wiz Exp $ alloca.h is not portable. --- extra/bonk~/bonk~.c.orig 2010-08-19 01:37:00.000000000 +0000 +++ extra/bonk~/bonk~.c @@ -82,10 +82,10 @@ void *bonk_class; static t_class *bonk_class; #endif -#ifdef _WIN32 -#include -#elif ! defined(_MSC_VER) +#if defined(HAVE_ALLOCA_H) #include +#elsif defined(HAVE_MALLOC_H) +#include #endif /* ------------------------ bonk~ ----------------------------- */