1 Index: kiso-0.8.3/src/kiso.cpp
2 ===================================================================
3 --- kiso-0.8.3.orig/src/kiso.cpp
4 +++ kiso-0.8.3/src/kiso.cpp
7 #define DEFAULT_TIMEOUT_MS 10000
9 +#if LIBCDIO_VERSION_NUM < 77
10 +#define mmc_csb_t scsi_mmc_t
11 +#define mmc_run_cmd scsi_run_cmd
14 static const char* const image2_data[] = {
17 @@ -3591,14 +3596,14 @@ void Mainform::showdrive()
20 uint8_t buf[500] = { 0, };
21 - scsi_mmc_cdb_t cdb = {{0, }};
22 + mmc_cdb_t cdb = {{0, }};
24 CDIO_MMC_SET_COMMAND(cdb.field, CDIO_MMC_GPCMD_GET_CONFIGURATION);
25 CDIO_MMC_SET_READ_LENGTH8(cdb.field, sizeof(buf));
26 cdb.field[1] = CDIO_MMC_GET_CONF_ALL_FEATURES;
29 - i_status = scsi_mmc_run_cmd(p_cdio, 0, &cdb, SCSI_MMC_DATA_READ, sizeof(buf), &buf);
30 + i_status = mmc_run_cmd(p_cdio, 0, &cdb, SCSI_MMC_DATA_READ, sizeof(buf), &buf);