From 6ecb8ce0230bed67575bbbd62c63bc77cd4deea6 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Thu, 11 Jan 2024 17:51:06 +1100 Subject: [PATCH] AP_Relay: add missing SITL include was being satisfied transitively --- libraries/AP_Relay/AP_Relay.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libraries/AP_Relay/AP_Relay.cpp b/libraries/AP_Relay/AP_Relay.cpp index 3b70fcb5d1..47d2b030b8 100644 --- a/libraries/AP_Relay/AP_Relay.cpp +++ b/libraries/AP_Relay/AP_Relay.cpp @@ -29,6 +29,10 @@ #include #endif +#if AP_SIM_ENABLED +#include +#endif + #if CONFIG_HAL_BOARD == HAL_BOARD_SITL #define RELAY1_PIN_DEFAULT 13