$NetBSD: patch-ac,v 1.4 2003/02/21 12:40:55 grant Exp $ --- glob/glob.c.orig Sat Jan 22 16:43:03 2000 +++ glob/glob.c @@ -215,13 +215,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. */