Fixed FreeBSD compilation.

This commit is contained in:
Gerald Pfeifer 2000-03-12 20:19:23 +00:00 committed by Alexandre Julliard
parent e4e61708d4
commit c302f3bd4a
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -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);