$NetBSD: patch-aa,v 1.6 2017/11/11 17:28:39 maya Exp $

Don't try to define alloca on BSDs

--- src/netsupport.c.orig	2006-03-14 01:33:01.000000000 +0000
+++ src/netsupport.c
@@ -38,7 +38,7 @@
 #ifdef _AIX
 #pragma alloca
 #else
-#ifndef alloca /* predefined by HP cc +Olibcalls */
+#if !defined(alloca) && !defined(__DragonFly__) && !defined(__FreeBSD__) && !defined(__NetBSD__)
 char *alloca();
 #endif
 #endif
