michael@13: Index: glob/glob.c michael@250: diff -Nau glob/glob.c.orig glob/glob.c michael@13: --- glob/glob.c.orig 2006-03-10 03:20:45 +0100 michael@13: +++ glob/glob.c 2006-04-01 19:09:18 +0200 michael@250: @@ -217,13 +217,13 @@ michael@13: # ifdef HAVE_ALLOCA_H michael@13: # include michael@13: # else /* Not HAVE_ALLOCA_H. */ michael@13: -# ifndef _AIX michael@13: +# if !defined (_AIX) && !defined (__FreeBSD__) michael@13: # ifdef WINDOWS32 michael@13: # include michael@13: # else michael@13: extern char *alloca (); michael@13: # endif /* WINDOWS32 */ michael@13: -# endif /* Not _AIX. */ michael@13: +# endif /* Not _AIX && not __FreeBSD__. */ michael@13: # endif /* sparc or HAVE_ALLOCA_H. */ michael@13: # endif /* GCC. */ michael@13: michael@13: Index: make.h michael@250: diff -Nau make.h.orig make.h michael@13: --- make.h.orig 2006-02-16 00:54:43 +0100 michael@13: +++ make.h 2006-04-01 19:09:18 +0200 michael@250: @@ -36,7 +36,7 @@ michael@13: #pragma alloca michael@250: # else michael@250: # if !defined(__GNUC__) && !defined(WINDOWS32) michael@13: -# ifndef alloca /* predefined by HP cc +Olibcalls */ michael@13: +# if !defined (alloca) && !defined (__FreeBSD__) /* predefined by HP cc +Olibcalls, part of stdlib.h on FreeBSD */ michael@13: char *alloca (); michael@13: # endif michael@13: # endif