btstack_memory: only include classic headers if ENABLE_CLASSIC

This commit is contained in:
Matthias Ringwald 2021-04-10 17:29:40 +02:00
parent e0b56338c6
commit ef83f5c4f3
2 changed files with 4 additions and 0 deletions

View File

@ -58,6 +58,7 @@ extern "C" {
#include "l2cap.h"
// Classic
#ifdef ENABLE_CLASSIC
#include "classic/avdtp_sink.h"
#include "classic/avdtp_source.h"
#include "classic/avrcp.h"
@ -68,6 +69,7 @@ extern "C" {
#include "classic/hid_host.h"
#include "classic/rfcomm.h"
#include "classic/sdp_server.h"
#endif
// BLE
#ifdef ENABLE_BLE

View File

@ -66,6 +66,7 @@ extern "C" {
#include "l2cap.h"
// Classic
#ifdef ENABLE_CLASSIC
#include "classic/avdtp_sink.h"
#include "classic/avdtp_source.h"
#include "classic/avrcp.h"
@ -76,6 +77,7 @@ extern "C" {
#include "classic/hid_host.h"
#include "classic/rfcomm.h"
#include "classic/sdp_server.h"
#endif
// BLE
#ifdef ENABLE_BLE