From 37217cf1b921a2a6e128b6134518912f0bd57f62 Mon Sep 17 00:00:00 2001 From: Mel Date: Mon, 30 Jun 2025 23:15:23 +0200 Subject: Factor out translation unit includes to seperate header This allows both the usual build compiler and an LSP server like `clangd` to correctly locate symbols throughout every subunit. Signed-off-by: Mel --- boot/common.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'boot/common.c') diff --git a/boot/common.c b/boot/common.c index 22ee50a..cf9aa46 100644 --- a/boot/common.c +++ b/boot/common.c @@ -8,6 +8,10 @@ * SPDX-License-Identifier: MPL-2.0 */ +#pragma once + +#include "catboot.h" + #include #include #include -- cgit 1.4.1