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:
Johan Hedberg 2015-06-03 09:54:55 +07:00 committed by Anas Nashif
commit 5e16f9b849

View file

@ -32,6 +32,8 @@
#ifndef __BT_GATT_H
#define __BT_GATT_H
#include <misc/util.h>
/* GATT attribute permission bitfield values */
#define BT_GATT_PERM_READ 0x01
#define BT_GATT_PERM_WRITE 0x02