diff --git a/zephyr-sys/build.rs b/zephyr-sys/build.rs index a393a501..5d43b42d 100644 --- a/zephyr-sys/build.rs +++ b/zephyr-sys/build.rs @@ -72,6 +72,7 @@ fn main() -> Result<()> { .allowlist_function("gpio_.*") .allowlist_function("sys_.*") .allowlist_function("z_log.*") + .allowlist_function("bt_.*") .allowlist_item("E.*") .allowlist_item("K_.*") .allowlist_item("ZR_.*") diff --git a/zephyr-sys/wrapper.h b/zephyr-sys/wrapper.h index 53550dcc..8c3ca158 100644 --- a/zephyr-sys/wrapper.h +++ b/zephyr-sys/wrapper.h @@ -34,6 +34,7 @@ extern int errno; #include #include #include +#include /* * bindgen will output #defined constant that resolve to simple numbers. There are some symbols