From 016f68cc287a02d9f2dfe07a9db9790e68d00d02 Mon Sep 17 00:00:00 2001 From: schwarz Date: Wed, 30 Nov 2005 21:07:14 +0000 Subject: added auxillary definition for systems that do not define _POSIX2_LINE_MAX (such as IRIX 5). Change approved by jschauma. --- textproc/nbsed/files/compile.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'textproc/nbsed') diff --git a/textproc/nbsed/files/compile.c b/textproc/nbsed/files/compile.c index 84843905b6c..042301842f5 100644 --- a/textproc/nbsed/files/compile.c +++ b/textproc/nbsed/files/compile.c @@ -1,4 +1,4 @@ -/* $NetBSD: compile.c,v 1.6 2004/08/21 08:39:54 jlam Exp $ */ +/* $NetBSD: compile.c,v 1.7 2005/11/30 21:07:14 schwarz Exp $ */ /*- * Copyright (c) 1992, 1993 @@ -78,7 +78,7 @@ #if 0 static char sccsid[] = "@(#)compile.c 8.2 (Berkeley) 4/28/95"; #else -__RCSID("$NetBSD: compile.c,v 1.6 2004/08/21 08:39:54 jlam Exp $"); +__RCSID("$NetBSD: compile.c,v 1.7 2005/11/30 21:07:14 schwarz Exp $"); #endif #endif /* not lint */ @@ -117,6 +117,10 @@ __RCSID("$NetBSD: compile.c,v 1.6 2004/08/21 08:39:54 jlam Exp $"); #include "defs.h" #include "extern.h" +#ifndef _POSIX2_LINE_MAX +#define _POSIX2_LINE_MAX 2048 +#endif + #define LHSZ 128 #define LHMASK (LHSZ - 1) static struct labhash { -- cgit v1.2.3