Bluetooth: Add missing include to gatt.h needed by ARRAY_SIZE
All public headers should be self-contained. Since gatt.h uses the ARRAY_SIZE macro it should also include the <misc/util.h> header file that provides it. Change-Id: I1fea66d10f452e51d9af5f5c6c345b5bb5a92d00 Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
parent
0225b6b299
commit
5e16f9b849
1 changed files with 2 additions and 0 deletions
|
@ -32,6 +32,8 @@
|
||||||
#ifndef __BT_GATT_H
|
#ifndef __BT_GATT_H
|
||||||
#define __BT_GATT_H
|
#define __BT_GATT_H
|
||||||
|
|
||||||
|
#include <misc/util.h>
|
||||||
|
|
||||||
/* GATT attribute permission bitfield values */
|
/* GATT attribute permission bitfield values */
|
||||||
#define BT_GATT_PERM_READ 0x01
|
#define BT_GATT_PERM_READ 0x01
|
||||||
#define BT_GATT_PERM_WRITE 0x02
|
#define BT_GATT_PERM_WRITE 0x02
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue