Commit 8569a87f authored by David Gannerud's avatar David Gannerud
Browse files

Add stddef.h as include to heart_rate_monitor example to make it build on unix.

Macro BLE_EVT_LEN_MAX(ATT_MTU) in ble.h gave an implicit declaration of function 'offsetof'.
parent 09c2026b
......@@ -25,6 +25,7 @@
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <stddef.h>
#ifdef _WIN32
#include <windows.h>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment