summaryrefslogtreecommitdiffstats
path: root/quantum
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2023-07-20 18:40:05 -0700
committerGitHub <noreply@github.com>2023-07-20 18:40:05 -0700
commit625671d1cf44ddbade756cd058149cd3971b317c (patch)
tree2de54b3bfce649d7c36b8b2b7734abc672b66671 /quantum
parent495ebe343dedd1bd8682d4b44dbe936223a604da (diff)
[Bug] Fix compilation error when Split Watchdog enabled (#21543)
Diffstat (limited to 'quantum')
-rw-r--r--quantum/split_common/split_util.c4
1 files changed, 4 insertions, 0 deletions
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