$NetBSD: patch-an,v 1.1 2006/01/15 19:20:59 joerg Exp $ --- msdos/fat_fileio.c.orig 2006-01-15 18:54:48.000000000 +0000 +++ msdos/fat_fileio.c @@ -30,6 +30,7 @@ To send email to the maintainer of the W #include "platform.h" +#include #include #include #include @@ -132,7 +133,6 @@ fat_open(DWORD p1, DWORD p2, DWORD p3, D int DosHandle; int slot,handle,freeslot; - extern int errno; int nclosed; LPMFSFILE fp; DWORD DosDrive;