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/visit.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'boot/visit.c') diff --git a/boot/visit.c b/boot/visit.c index 24f033a..c297fb4 100644 --- a/boot/visit.c +++ b/boot/visit.c @@ -9,6 +9,10 @@ * SPDX-License-Identifier: MPL-2.0 */ +#pragma once + +#include "catboot.h" + struct Visit { struct Visit_Table* table; -- cgit 1.4.1