aboutsummaryrefslogtreecommitdiffstats
path: root/devel/xxgdb/files/patch-regex.c
blob: 659cb0d32b8d8434a204a2d23ce2bf9ba39249a6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- regex.c.orig	1995-04-19 16:58:00 UTC
+++ regex.c
@@ -114,7 +114,7 @@ what you give them.   Help stamp out sof
  * Date :	 July 27, 1990
  */
 
-#ifndef NeXT
+#if !defined(NeXT) && !defined(__FreeBSD__) && !defined(__DragonFly__)
 #include <malloc.h>
 #endif
 #include <string.h>
@@ -123,7 +123,7 @@ what you give them.   Help stamp out sof
 #include <assert.h>
 
 #ifdef sparc
-#include <alloca.h>
+/* #include <alloca.h> */
 #else
 #pragma alloca
 #endif