From e63c1c414f65a3c217355fd93e9ddc3d6e72ef64 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. Signed-off-by: Manika Shrivastava Signed-off-by: Ayush Garg --- 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 9195454..b40af10 100644 --- a/profiles/audio/transport.c +++ b/profiles/audio/transport.c @@ -33,6 +33,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 7b23a33..1784073 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 b63b4b0..7b9f88c 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 -- 2.7.4