21 lines
448 B
Text
21 lines
448 B
Text
$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
|