$NetBSD: patch-ac,v 1.5 2006/04/02 20:10:51 wiz Exp $ --- glob/glob.c.orig 2006-03-10 02:20:45.000000000 +0000 +++ glob/glob.c @@ -216,13 +216,13 @@ my_realloc (p, n) # ifdef HAVE_ALLOCA_H # include # else /* Not HAVE_ALLOCA_H. */ -# ifndef _AIX +# if !defined (_AIX) && !defined (__FreeBSD__) # ifdef WINDOWS32 # include # else extern char *alloca (); # endif /* WINDOWS32 */ -# endif /* Not _AIX. */ +# endif /* Not _AIX && not __FreeBSD__. */ # endif /* sparc or HAVE_ALLOCA_H. */ # endif /* GCC. */