summaryrefslogtreecommitdiff
path: root/emulators/plex86/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/plex86/patches/patch-aa')
-rw-r--r--emulators/plex86/patches/patch-aa22
1 files changed, 22 insertions, 0 deletions
diff --git a/emulators/plex86/patches/patch-aa b/emulators/plex86/patches/patch-aa
new file mode 100644
index 00000000000..b80bf907928
--- /dev/null
+++ b/emulators/plex86/patches/patch-aa
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.5 2001/01/07 14:44:19 tron Exp $
+
+--- user/plugins/bochs/iodev/harddrv.h.orig Wed Jan 3 13:50:13 2001
++++ user/plugins/bochs/iodev/harddrv.h Sun Jan 7 12:10:34 2001
+@@ -45,7 +45,7 @@
+
+ // Position ourselves. Return the resulting offset from the
+ // beginning of the file.
+- virtual loff_t lseek (loff_t offset, int whence) = 0;
++ virtual off_t lseek (off_t offset, int whence) = 0;
+
+ // Read count bytes to the buffer buf. Return the number of
+ // bytes read (count).
+@@ -71,7 +71,7 @@
+
+ // Position ourselves. Return the resulting offset from the
+ // beginning of the file.
+- loff_t lseek (loff_t offset, int whence);
++ off_t lseek (off_t offset, int whence);
+
+ // Read count bytes to the buffer buf. Return the number of
+ // bytes read (count).