Files
pkgsrc-ng/devel/xxgdb/patches/patch-ac
2013-09-26 17:14:40 +02:00

22 lines
448 B
Plaintext

$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