From 0757b46c460781f40fe1619b9a77d5c17e04f25f Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Tue, 8 Nov 2022 15:23:09 +1100 Subject: [PATCH] AP_CheckFirmware: remove GCS.h from library header files --- libraries/AP_CheckFirmware/AP_CheckFirmware.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libraries/AP_CheckFirmware/AP_CheckFirmware.h b/libraries/AP_CheckFirmware/AP_CheckFirmware.h index cf0837d20c..648994fe29 100644 --- a/libraries/AP_CheckFirmware/AP_CheckFirmware.h +++ b/libraries/AP_CheckFirmware/AP_CheckFirmware.h @@ -6,8 +6,9 @@ #include #include #include -#ifndef HAL_BOOTLOADER_BUILD -#include +#include +#if HAL_GCS_ENABLED +#include #endif #ifndef AP_CHECK_FIRMWARE_ENABLED