Skip to content

Commit aaec705

Browse files
Thalleykartben
authored andcommitted
Bluetooth: Audio: Fix includes in public header files
Updates the includes in a few header files to avoid including unused header files and include the ones that are used. Signed-off-by: Emil Gydesen <[email protected]>
1 parent 010d7d1 commit aaec705

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

include/zephyr/bluetooth/audio/bap.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,14 @@
2828
#include <stddef.h>
2929
#include <stdint.h>
3030

31+
#include <zephyr/autoconf.h>
3132
#include <zephyr/bluetooth/audio/audio.h>
3233
#include <zephyr/bluetooth/addr.h>
3334
#include <zephyr/bluetooth/bluetooth.h>
3435
#include <zephyr/bluetooth/conn.h>
3536
#include <zephyr/bluetooth/gap.h>
3637
#include <zephyr/bluetooth/iso.h>
38+
#include <zephyr/bluetooth/uuid.h>
3739
#include <zephyr/net_buf.h>
3840
#include <zephyr/sys/slist.h>
3941
#include <zephyr/sys/util_macro.h>

include/zephyr/bluetooth/audio/ccp.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@
3131
* The profile is not limited to carrier phone calls and can be used with common applications like
3232
* Discord and Teams.
3333
*/
34-
#include <stdint.h>
34+
35+
#include <stddef.h>
3536

3637
#include <zephyr/autoconf.h>
3738
#include <zephyr/bluetooth/audio/tbs.h>

0 commit comments

Comments
 (0)