$NetBSD: patch-extra_sigmund~_sigmund~.c,v 1.1.1.1 2011/09/15 01:05:05 wiz Exp $ alloca.h is not portable. --- extra/sigmund~/sigmund~.c.orig 2010-07-28 20:55:17.000000000 +0000 +++ extra/sigmund~/sigmund~.c @@ -26,10 +26,10 @@ for example, defines this in the file d_ #include #include #include -#ifdef _WIN32 -#include -#elif ! defined(_MSC_VER) +#if defined(HAVE_ALLOCA_H) #include +#elsif defined(HAVE_MALLOC_H) +#include #endif #include #ifdef _MSC_VER