$NetBSD: patch-ao,v 1.4 2010/09/27 12:01:49 taca Exp $ * Don't declare errno but include . --- 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 -#endif -extern int errno; #ifdef LOCKONLY #ifndef MMDFONLY