From af10060541744665efaecc1a10fa760e3521c152 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 8 Jul 2024 19:28:59 +1000 Subject: [PATCH] AP_HAL: fixed build on macos --- libraries/AP_HAL/Device.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libraries/AP_HAL/Device.h b/libraries/AP_HAL/Device.h index 95f997138d2cd2..74d2c910a04227 100644 --- a/libraries/AP_HAL/Device.h +++ b/libraries/AP_HAL/Device.h @@ -20,6 +20,12 @@ #include "AP_HAL_Namespace.h" #include "utility/functor.h" +#include "AP_HAL_Boards.h" + +#if CONFIG_HAL_BOARD != HAL_BOARD_QURT +// we need utility for std::move, but not on QURT due to a include error in hexagon SDK +#include +#endif /* * This is an interface abstracting I2C and SPI devices