$NetBSD$

--- src/iostream.c.orig	2005-12-02 23:32:25.000000000 +0000
+++ src/iostream.c
@@ -728,7 +728,6 @@ Int ReadFromPty( UInt stream, Char *buf,
     }
 }
 #endif
-extern int errno;
 
 UInt WriteToPty ( UInt stream, Char *buf, Int len )
 {
