summaryrefslogtreecommitdiff
path: root/devel/xxgdb/patches/patch-ac
blob: 385205c321246a6fd50ce2ba3a07174dd5fe2db8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-ac,v 1.5 2007/07/28 00:00:02 joerg Exp $

--- regex.c.orig	1995-04-19 16:58:00.000000000 +0000
+++ regex.c
@@ -114,15 +114,12 @@ what you give them.   Help stamp out sof
  * Date :	 July 27, 1990
  */
 
-#ifndef NeXT
-#include <malloc.h>
-#endif
 #include <string.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <assert.h>
 
-#ifdef sparc
+#if defined(sparc) && !defined(__NetBSD__)
 #include <alloca.h>
 #else
 #pragma alloca