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/parse.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'boot/parse.c') diff --git a/boot/parse.c b/boot/parse.c index 6aa61f7..d410476 100644 --- a/boot/parse.c +++ b/boot/parse.c @@ -7,6 +7,10 @@ * SPDX-License-Identifier: MPL-2.0 */ +#pragma once + +#include "catboot.h" + #define PARSER_LOOKAHEAD 2 #define CHECK(parse) \ -- cgit 1.4.1