From 8cf99867744503c7a79334df4f3bec2bdad8188b Mon Sep 17 00:00:00 2001 From: Sourav Das Date: Thu, 6 Apr 2023 11:35:48 +0530 Subject: [PATCH] spa:bluez5: fix compilation on lower bluez version, BT_ISO_QOS macro is not available So, need to check it also fixes the compilation. --- spa/plugins/bluez5/iso-io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spa/plugins/bluez5/iso-io.c b/spa/plugins/bluez5/iso-io.c index 35ed2e4da..652dfdd87 100644 --- a/spa/plugins/bluez5/iso-io.c +++ b/spa/plugins/bluez5/iso-io.c @@ -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;