about summary refs log tree commit diff
path: root/boot/tree.c
diff options
context:
space:
mode:
authorMel <mel@rnrd.eu>2025-06-30 23:15:23 +0200
committerMel <mel@rnrd.eu>2025-06-30 23:15:23 +0200
commit37217cf1b921a2a6e128b6134518912f0bd57f62 (patch)
tree4a1f616355e02198735878e55c32347376848a93 /boot/tree.c
parent0737d287c29b404700bfaa07625177eb443dfab2 (diff)
downloadcatskill-37217cf1b921a2a6e128b6134518912f0bd57f62.tar.zst
catskill-37217cf1b921a2a6e128b6134518912f0bd57f62.zip
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 <mel@rnrd.eu>
Diffstat (limited to 'boot/tree.c')
-rw-r--r--boot/tree.c4
1 files changed, 4 insertions, 0 deletions
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,