pkgsrc/devel/acme/patches/patch-ac

24 lines
717 B
Text

$NetBSD: patch-ac,v 1.1 2007/01/27 10:38:22 wiz Exp $
--- context.h.orig 2001-03-22 17:34:46.000000000 +0000
+++ context.h
@@ -11,6 +11,8 @@
#ifndef context_H
#define context_H
+#include "config.h"
+
/* Number of "global zone" */
#define ZONE_GLOBAL 0
@@ -42,8 +44,8 @@ struct context {
extern zone Context_CurrentZone;/* current zone value */
extern zone Zone_Max;/* Highest zone number yet */
extern int nContext;/* Number of saved contexts */
-extern context Context[];
-extern byte pTitle[][];
+extern context Context[MAXCONTEXTS];
+extern byte pTitle[MAXCONTEXTS][LSMAX + 1];
extern int Context_CodeTable;/* Current translation table and its values */
enum {
CODETABLE_RAW,