This is an automated email from the ASF dual-hosted git repository.

andk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git

commit 64a5af6b664080070616b2d196672ae829021182
Author: Gerard Marull-Paretas <[email protected]>
AuthorDate: Mon Mar 10 17:48:16 2025 +0100

    porting: add missing os/os_cputime.h include
    
    When building controller, `os_cputime_init` is called, however,
    header where it is declared was not included.
    
    Signed-off-by: Gerard Marull-Paretas <[email protected]>
---
 porting/nimble/src/nimble_port.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/porting/nimble/src/nimble_port.c b/porting/nimble/src/nimble_port.c
index c071da732..cfb288549 100644
--- a/porting/nimble/src/nimble_port.c
+++ b/porting/nimble/src/nimble_port.c
@@ -25,6 +25,7 @@
 #include "nimble/transport.h"
 #if NIMBLE_CFG_CONTROLLER
 #include "controller/ble_ll.h"
+#include "os/os_cputime.h"
 #endif
 
 static struct ble_npl_eventq g_eventq_dflt;

Reply via email to