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/tree.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'boot/tree.c') diff --git a/boot/tree.c b/boot/tree.c index cb5fd2a..1eb19a8 100644 --- a/boot/tree.c +++ b/boot/tree.c @@ -6,6 +6,10 @@ * SPDX-License-Identifier: MPL-2.0 */ +#pragma once + +#include "catboot.h" + enum Unary_Operation { UNARY_NONE, -- cgit 1.4.1