20 lines
360 B
Text
20 lines
360 B
Text
$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) {
|