pkgsrc/devel/xxgdb/patches/patch-ac

22 lines
448 B
Text
Raw Normal View History

$NetBSD: patch-ac,v 1.5 2007/07/28 00:00:02 joerg Exp $
1998-08-07 12:35:47 +02:00
--- 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
2005-04-01 18:08:10 +02:00
* Date : July 27, 1990
*/
-#ifndef NeXT
-#include <malloc.h>
-#endif
2005-04-01 18:08:10 +02:00
#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