summaryrefslogtreecommitdiff
path: root/editors/bvi/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'editors/bvi/patches/patch-aa')
-rw-r--r--editors/bvi/patches/patch-aa21
1 files changed, 21 insertions, 0 deletions
diff --git a/editors/bvi/patches/patch-aa b/editors/bvi/patches/patch-aa
new file mode 100644
index 00000000000..0cf5348be36
--- /dev/null
+++ b/editors/bvi/patches/patch-aa
@@ -0,0 +1,21 @@
+$NetBSD: patch-aa,v 1.3 2005/12/09 13:47:58 joerg Exp $
+
+--- comm.c.orig 2005-12-09 13:37:50.000000000 +0000
++++ comm.c
+@@ -32,6 +32,8 @@
+ #include "bvi.h"
+ #include "set.h"
+
++#include <errno.h>
++
+ #ifdef HAVE_UNISTD_H
+ # include <unistd.h>
+ #endif
+@@ -81,7 +83,6 @@ PTR end_addr;
+ extern char *name; /* actual filename */
+ extern char **files; /* used for "next" and "rewind" */
+ extern int numfiles, curfile;
+-extern int errno;
+
+ static char oldbuf[CMDSZ]; /** for :!! command **/
+