From 535a6a331626aed9401f2802545f0332fef73a4e Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 6 Jan 2024 07:51:04 +1100 Subject: [PATCH] AP_Networking: fixed build of evtimer.c on firmware server the firmware server uses --out option to waf configure which changes the include paths --- libraries/AP_Networking/lwip_hal/arch/evtimer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libraries/AP_Networking/lwip_hal/arch/evtimer.c b/libraries/AP_Networking/lwip_hal/arch/evtimer.c index 53da0413f8..56657904ed 100644 --- a/libraries/AP_Networking/lwip_hal/arch/evtimer.c +++ b/libraries/AP_Networking/lwip_hal/arch/evtimer.c @@ -5,6 +5,7 @@ #include #if CH_CFG_USE_EVENTS -#include "../../modules/ChibiOS/os/various/evtimer.c" +// this include relies on -I for modules/ChibiOS/os/various/cpp_wrappers +#include <../evtimer.c> #endif