$NetBSD: patch-ab,v 1.2 2017/06/27 23:50:24 wiedi Exp $ needs include for alloca --- main.c.orig 2005-07-08 23:10:15.000000000 +0000 +++ main.c @@ -67,6 +67,10 @@ #include #include +#if defined(__INTERIX) || defined(__sun) +#include +#endif + #ifdef WIN32 #include #include