$NetBSD: patch-ao,v 1.3 2005/12/29 13:56:51 joerg Exp $

--- src/keyboard.c.orig	2005-12-29 13:28:32.000000000 +0000
+++ src/keyboard.c
@@ -77,10 +77,6 @@ Boston, MA 02111-1307, USA.  */
 /* Include systime.h after xterm.h to avoid double inclusion of time.h. */
 #include "systime.h"
 
-#ifndef USE_CRT_DLL
-extern int errno;
-#endif
-
 /* Variables for blockinput.h: */
 
 /* Non-zero if interrupt input is blocked right now.  */
