From 3ed8a434cef8859770fa84a687392ba65e5365b6 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Thu, 14 Sep 2023 21:05:58 +1000 Subject: [PATCH] AP_AHRS: add missing SITL header include the singleton is used in this file --- libraries/AP_AHRS/AP_AHRS.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libraries/AP_AHRS/AP_AHRS.cpp b/libraries/AP_AHRS/AP_AHRS.cpp index 93591c20263ea..d0985bd80315b 100644 --- a/libraries/AP_AHRS/AP_AHRS.cpp +++ b/libraries/AP_AHRS/AP_AHRS.cpp @@ -39,6 +39,9 @@ #include #include #include +#if CONFIG_HAL_BOARD == HAL_BOARD_SITL +#include +#endif #define ATTITUDE_CHECK_THRESH_ROLL_PITCH_RAD radians(10) #define ATTITUDE_CHECK_THRESH_YAW_RAD radians(20)