From 2762dffb062e7c73e94f9655b36ad9c078aebd29 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Fri, 10 Jan 2025 10:42:34 -0500 Subject: [PATCH] audio/transport: Make include of avrcp.h conditional This makes the include of avrcp.h conditional to HAVE_AVRCP. --- profiles/audio/transport.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/profiles/audio/transport.c b/profiles/audio/transport.c index ad0df7238..38051e64d 100644 --- a/profiles/audio/transport.c +++ b/profiles/audio/transport.c @@ -43,12 +43,14 @@ #include "a2dp.h" #include "sink.h" #include "source.h" +#ifdef HAVE_AVRCP +#include "avrcp.h" +#endif #endif #include "asha.h" #include "media.h" #include "transport.h" -#include "avrcp.h" #include "bass.h" #define MEDIA_TRANSPORT_INTERFACE "org.bluez.MediaTransport1" -- 2.47.3