$NetBSD: patch-ao,v 1.3 2006/04/11 15:08:38 joerg Exp $

--- zotnet/mts/lock.c.orig	2006-04-11 13:49:57.000000000 +0000
+++ zotnet/mts/lock.c
@@ -77,10 +77,7 @@ static char ident[] = "@(#)$Id: lock.c,v
 #define	FLOCK		/* LOCKF will override this, if defined */
 #endif
 
-#ifdef __CYGWIN32__
 #include <errno.h>
-#endif
-extern int  errno;
 
 #ifdef	LOCKONLY
 #ifndef	MMDFONLY
