summaryrefslogtreecommitdiff
path: root/emulators/twin/patches/patch-an
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/twin/patches/patch-an')
-rw-r--r--emulators/twin/patches/patch-an20
1 files changed, 20 insertions, 0 deletions
diff --git a/emulators/twin/patches/patch-an b/emulators/twin/patches/patch-an
new file mode 100644
index 00000000000..a1c6d31db03
--- /dev/null
+++ b/emulators/twin/patches/patch-an
@@ -0,0 +1,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;