--- ./src/cddb.c.orig 2004-06-15 17:20:09.000000000 -0400 +++ ./src/cddb.c 2012-03-05 13:42:25.000000000 -0500 @@ -229,10 +229,11 @@ return concat_strings(get_home_dir(), "/.tcd/", cd_id, NULL); } -extern int tcd_readdiskinfo(struct cd_info *cd, SDL_CD * cdrom) +extern int tcd_readdiskinfo(struct tcd_state *cds, SDL_CD * cdrom) { int result; char *filename; + struct cd_info *cd = &cds->cd_info; result = 0; if ((filename = cddb_filename(cddb_discid(cdrom))) != NULL) {