blob: c229e125a25efbad956487a9586e0ad83209c302 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
$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 <alloca.h>
# else /* Not HAVE_ALLOCA_H. */
-# ifndef _AIX
+# if !defined (_AIX) && !defined (__FreeBSD__)
# ifdef WINDOWS32
# include <malloc.h>
# else
extern char *alloca ();
# endif /* WINDOWS32 */
-# endif /* Not _AIX. */
+# endif /* Not _AIX && not __FreeBSD__. */
# endif /* sparc or HAVE_ALLOCA_H. */
# endif /* GCC. */
|