From f0b78f48e22dc8fc6c04986a7e0be8aa569355da Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Fri, 4 Nov 2022 10:17:45 +0100 Subject: [PATCH] btstack_audio_embedded: add missing include --- platform/embedded/btstack_audio_embedded.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/platform/embedded/btstack_audio_embedded.c b/platform/embedded/btstack_audio_embedded.c index 359ae68d2..5e915cf09 100644 --- a/platform/embedded/btstack_audio_embedded.c +++ b/platform/embedded/btstack_audio_embedded.c @@ -44,14 +44,16 @@ * */ +// allow to compile all files in embedded folder even if there's no audio support +#ifdef HAVE_HAL_AUDIO + #include "btstack_config.h" #include "btstack_debug.h" #include "btstack_audio.h" #include "btstack_run_loop_embedded.h" #include "hal_audio.h" -// allow to compile all files in embedded folder even if there's no audio support -#ifdef HAVE_HAL_AUDIO +#include #define DRIVER_POLL_INTERVAL_MS 5