summaryrefslogtreecommitdiff
path: root/editors/bvi/patches/patch-ab
blob: 7ca125fa115328c209b2e12b5583df6726a89868 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$NetBSD: patch-ab,v 1.1 2005/12/09 13:47:58 joerg Exp $

--- bm_unix.c.orig	2005-12-09 13:38:29.000000000 +0000
+++ bm_unix.c
@@ -25,6 +25,7 @@
 
 
 #include "bmore.h"
+#include <errno.h>
 #include <termios.h>
 
 #define TBUFSIZ 1024
@@ -257,7 +258,6 @@ int
 vgetc()
 {
     char cha;
-    extern int errno;
 
     errno = 0;
     if (read(2, &cha, 1) <= 0) {