BLE Host - Add missing #include.

X-Original-Commit: e51ce9de50b2950273b1db79e26e43e01b0082b0
This commit is contained in:
Christopher Collins
2017-03-28 16:58:41 -07:00
parent 1cd36ff007
commit 98b9d9d8ac
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -99,6 +99,7 @@ typedef union {
#define BLE_UUID128(u) \
((ble_uuid128_t *) (u))
/** Includes trailing \0. */
#define BLE_UUID_STR_LEN (37)
int ble_uuid_init_from_buf(ble_uuid_any_t *uuid, const void *buf, size_t len);
@@ -106,6 +107,8 @@ int ble_uuid_cmp(const ble_uuid_t *uuid1, const ble_uuid_t *uuid2);
char *ble_uuid_to_str(const ble_uuid_t *uuid, char *dst);
uint16_t ble_uuid_u16(const ble_uuid_t *uuid);
int ble_uuid_to_s(char *dst, int dst_sz, const void *uuid128);
#ifdef __cplusplus
}
#endif
+1
View File
@@ -21,6 +21,7 @@
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <stdio.h>
#include "os/os_mbuf.h"
#include "nimble/ble.h"
#include "ble_hs_priv.h"