$NetBSD: patch-aa,v 1.5 2006/07/16 22:37:49 seb Exp $

--- dictP.h.orig	2006-01-02 10:35:42.000000000 +0000
+++ dictP.h
@@ -68,7 +68,7 @@
 # pragma alloca
 # else
 #  ifndef alloca /* predefined by HP cc +Olibcalls */
-#  if !defined(__svr4__) && !defined(__sgi__)	/* not on IRIX */
+#  if !defined(__svr4__) && !defined(__sgi__) && !defined(__DragonFly__) && !defined(__FreeBSD__) && !defined(__NetBSD__)	/* not on IRIX */
     char *alloca ();
 #  endif
 #  endif
