$NetBSD: patch-aw,v 1.1 2005/12/02 22:57:32 joerg Exp $

--- sj3/display.c.orig	2005-12-02 22:43:59.000000000 +0000
+++ sj3/display.c
@@ -36,7 +36,7 @@
 
 
 #include "sj_sysvdef.h"
-#include <sys/errno.h>
+#include <errno.h>
 #include "common.h"
 #include "inkey.h"
 #include "select.h"
@@ -201,7 +201,6 @@ master_flush ()
 	SELECT_FD	ifds;
 	int		nc;
 	struct timeval	t;
-	extern int	errno;
 
 	do {
 cont:
