$NetBSD: patch-ae,v 1.3 2007/03/08 18:53:58 wiz Exp $

--- lib/regex_internal.h.orig	2005-12-06 08:50:56.000000000 +0000
+++ lib/regex_internal.h
@@ -410,7 +410,7 @@ static unsigned int re_string_context_at
 #define re_string_skip_bytes(pstr,idx) ((pstr)->cur_idx += (idx))
 #define re_string_set_index(pstr,idx) ((pstr)->cur_idx = (idx))
 
-#include <alloca.h>
+#include <stdlib.h>
 
 #ifndef _LIBC
 # if HAVE_ALLOCA
