Fix FTBFS in kscd on openbsd because missing scsi_cd.h

Signed-off-by: François Andriot <francois.andriot@free.fr>
pull/1/head
François Andriot 10 years ago committed by Slávek Banko
parent 1761a6cdc4
commit 79546240dc

@ -57,7 +57,6 @@
#include <sys/scsiio.h>
#include <scsi/scsi_all.h>
#include <scsi/cd.h>
#include <scsi/scsi_cd.h>
#include "include/wm_struct.h"
#include "include/wm_cdtext.h"
@ -127,10 +126,12 @@ wmcd_open(struct wm_drive *d)
find_drive_struct(vendor, model, rev);
(d->init)(d);
d->fd = fd;
if (d->proto->gen_init) {
return (d->proto->gen_init)(d);
}
return (0);
} /* wmcd_open() */
@ -314,7 +315,7 @@ gen_get_cdlen(struct wm_drive *d, int *frames)
* Play the CD from one position to another (both in frames.)
*/
int
gen_play(struct wm_drive *d, int start, int end)
gen_play(struct wm_drive *d, int start, int end, int realstart)
{
struct ioc_play_msf msf;

Loading…
Cancel
Save