diff options
Diffstat (limited to 'editors/bvi/patches/patch-ab')
-rw-r--r-- | editors/bvi/patches/patch-ab | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/editors/bvi/patches/patch-ab b/editors/bvi/patches/patch-ab new file mode 100644 index 00000000000..7ca125fa115 --- /dev/null +++ b/editors/bvi/patches/patch-ab @@ -0,0 +1,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) { |