13 lines
457 B
Diff
13 lines
457 B
Diff
--- wine-1.1.42/dlls/ntdll/cdrom.c.orig 2010-04-12 22:15:41.000000000 +0200
|
|
+++ wine-1.1.42/dlls/ntdll/cdrom.c 2010-04-12 22:18:09.000000000 +0200
|
|
@@ -2675,6 +2675,9 @@
|
|
static NTSTATUS GetInquiryData(int fd, PSCSI_ADAPTER_BUS_INFO BufferOut, DWORD OutBufferSize)
|
|
{
|
|
#ifdef HAVE_SG_IO_HDR_T_INTERFACE_ID
|
|
+# ifndef INQUIRY
|
|
+# define INQUIRY 0x12
|
|
+# endif
|
|
PSCSI_INQUIRY_DATA pInquiryData = NULL;
|
|
UCHAR sense_buffer[32];
|
|
int iochk, version;
|