diff --git a/dlls/winaspi/aspi.c b/dlls/winaspi/aspi.c index dae42fa5d73..8c20de1e0cd 100644 --- a/dlls/winaspi/aspi.c +++ b/dlls/winaspi/aspi.c @@ -144,6 +144,7 @@ SCSI_OpenDevice( int h, int c, int t, int d ) return fd; } +#ifdef linux int SCSI_LinuxSetTimeout( int fd, int timeout ) { @@ -344,4 +345,4 @@ SCSI_GetProcinfo() RegCloseKey(hkeyScsi); return; } - +#endif diff --git a/dlls/winaspi/winescsi.h b/dlls/winaspi/winescsi.h index f2fa44956ea..0ef40ed5c51 100644 --- a/dlls/winaspi/winescsi.h +++ b/dlls/winaspi/winescsi.h @@ -47,11 +47,13 @@ SCSI_OpenDevice( int h, int c, int t, int d ); int SCSI_LinuxSetTimeout( int fd, int timeout ); +#ifdef linux BOOL SCSI_LinuxDeviceIo( int fd, struct sg_header * lpvInBuffer, DWORD cbInBuffer, struct sg_header * lpvOutBuffer, DWORD cbOutBuffer, LPDWORD lpcbBytesReturned ); +#endif BOOL SCSI_GetDeviceName(int h, int c, int t, int d, LPSTR devstr, LPDWORD lpcbData);