From 625671d1cf44ddbade756cd058149cd3971b317c Mon Sep 17 00:00:00 2001 From: Drashna Jaelre Date: Thu, 20 Jul 2023 18:40:05 -0700 Subject: [PATCH] [Bug] Fix compilation error when Split Watchdog enabled (#21543) --- quantum/split_common/split_util.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/quantum/split_common/split_util.c b/quantum/split_common/split_util.c index fca95e0847..1db02df3b2 100644 --- a/quantum/split_common/split_util.c +++ b/quantum/split_common/split_util.c @@ -31,6 +31,10 @@ # include "rgblight.h" #endif +#if defined(SPLIT_WATCHDOG_ENABLE) +# include "bootloader.h" +#endif + #ifndef SPLIT_USB_TIMEOUT # define SPLIT_USB_TIMEOUT 2000 #endif