From de0a366833cd056aa29a5f089000deff867f690c Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Thu, 15 Sep 2022 17:14:39 -0700 Subject: [PATCH] shared/bap: Remove include to io.h Users of bap.h shall also include io.h, including io.h by default may cause errors if has been previously included. --- profiles/audio/transport.c | 1 + src/shared/bap.c | 1 + src/shared/bap.h | 2 -- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/profiles/audio/transport.c b/profiles/audio/transport.c index f233643a6..41339da51 100644 --- a/profiles/audio/transport.c +++ b/profiles/audio/transport.c @@ -34,6 +34,7 @@ #include "src/shared/util.h" #include "src/shared/queue.h" #include "src/shared/bap.h" +#include "src/shared/io.h" #include "avdtp.h" #include "media.h" diff --git a/src/shared/bap.c b/src/shared/bap.c index 7b23a3347..178407387 100644 --- a/src/shared/bap.c +++ b/src/shared/bap.c @@ -18,6 +18,7 @@ #include "lib/bluetooth.h" #include "lib/uuid.h" +#include "src/shared/io.h" #include "src/shared/queue.h" #include "src/shared/util.h" #include "src/shared/timeout.h" diff --git a/src/shared/bap.h b/src/shared/bap.h index b63b4b024..7b9f88c83 100644 --- a/src/shared/bap.h +++ b/src/shared/bap.h @@ -10,8 +10,6 @@ #include #include -#include "src/shared/io.h" - #ifndef __packed #define __packed __attribute__((packed)) #endif