$NetBSD: patch-ab,v 1.19 2009/12/11 18:53:40 adam Exp $

--- src/include/Defn.h.orig	2009-09-30 04:05:04.000000000 +0200
+++ src/include/Defn.h
@@ -1232,7 +1232,7 @@ extern char *locale2charset(const char *
 # ifdef HAVE_ALLOCA_H
 #  include <alloca.h>
 # endif
-# if !HAVE_DECL_ALLOCA  && !defined(__FreeBSD__)
+# if !HAVE_DECL_ALLOCA  && !defined(__FreeBSD__) && !defined(__DragonFly__)
 extern char *alloca(size_t);
 # endif
 #endif
