summaryrefslogtreecommitdiff
path: root/emulators/wine/patches/patch-ab
blob: 4cd5bad0e4c3e3235e6e5f1fd9ada26e291072a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-ab,v 1.16 2003/10/17 13:54:18 adam Exp $

--- dlls/ntdll/cdrom.c.orig	2003-10-08 04:59:22.000000000 +0200
+++ dlls/ntdll/cdrom.c
@@ -61,6 +61,16 @@
 #endif
 #ifdef HAVE_LINUX_CDROM_H
 # include <linux/cdrom.h>
+#else
+# ifndef CD_FRAMES
+#  define CD_FRAMES 75
+# endif
+# ifndef CDROM_MSF
+#  define CDROM_MSF 0x02
+# endif
+# ifndef CD_SECS
+#  define CD_SECS 60
+# endif
 #endif
 #ifdef HAVE_LINUX_UCDROM_H
 # include <linux/ucdrom.h>