$NetBSD: patch-src_zzuf.c,v 1.1 2017/04/16 21:46:12 khorben Exp $ Build fix for NetBSD, where: * does not exist but alloca(3) is available in instead * is not automatically visible --- src/zzuf.c.orig 2016-04-13 08:24:10.000000000 +0000 +++ src/zzuf.c @@ -48,7 +48,12 @@ #include #include #include -#include +#if defined HAVE_ALLOCA_H +# include +#endif +#if defined HAVE_SYS_SELECT_H +# include +#endif #if defined HAVE_SYS_TIME_H # include #endif