spa:bluez5: fix compilation

on lower bluez version, BT_ISO_QOS macro is not available
    So, need to check it also fixes the compilation.
This commit is contained in:
Sourav Das 2023-04-06 11:35:48 +05:30 committed by Wim Taymans
parent acbef8d507
commit 8cf9986774

View file

@ -198,7 +198,7 @@ static void group_on_timeout(struct spa_source *source)
static struct group *group_create(int fd, struct spa_log *log, struct spa_loop *data_loop,
struct spa_system *data_system)
{
#ifdef HAVE_BLUETOOTH_BAP
#if defined(HAVE_BLUETOOTH_BAP) && defined(BT_ISO_QOS)
struct group *group;
struct bt_iso_qos qos;
socklen_t len;