$NetBSD: patch-aa,v 1.2 2007/06/29 22:46:50 joerg Exp $ --- fvwm-insitu/config.h.in 2007/06/02 08:47:27 1.1 +++ fvwm-insitu/config.h.in 2007/06/02 08:51:55 @@ -526,8 +526,12 @@ # ifdef _AIX #pragma alloca # else -# ifndef alloca /* predefined by HP cc +Olibcalls */ +# if defined(__NetBSD__) || defined(__DragonFly__) || defined(__FreeBSD__) +# include +# else +# ifndef alloca /* predefined by HP cc +Olibcalls */ char *alloca (); +# endif # endif # endif #endif