From 5baf36c8e03c7880bfeec4eb508513839c5a8312 Mon Sep 17 00:00:00 2001 From: Hauke Petersen Date: Tue, 10 May 2022 08:22:22 +0200 Subject: [PATCH] drivers/nrf51: add missing include of os_cputime.h --- nimble/drivers/nrf51/src/ble_phy.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nimble/drivers/nrf51/src/ble_phy.c b/nimble/drivers/nrf51/src/ble_phy.c index d3bc3c2ecc..a74252b586 100644 --- a/nimble/drivers/nrf51/src/ble_phy.c +++ b/nimble/drivers/nrf51/src/ble_phy.c @@ -22,6 +22,8 @@ #include #include "syscfg/syscfg.h" #include "os/os.h" +/* Keep os_cputime explicitly to enable build on non-Mynewt platforms */ +#include "os/os_cputime.h" #include "ble/xcvr.h" #include "nimble/ble.h" #include "nimble/nimble_opt.h"