summaryrefslogtreecommitdiff
path: root/emulators/twin/patches/patch-an
blob: a1c6d31db0307610892f27de8eeef8171419561d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$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 <errno.h>
 #include <stdio.h>
 #include <string.h>
 #include <sys/types.h>
@@ -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;