From 7f5d765c929a4dc2deddb7b68a41a3a841940837 Mon Sep 17 00:00:00 2001 From: Mel Date: Thu, 22 Jan 2026 03:55:02 +0100 Subject: LLVM clang compiler backend Signed-off-by: Mel --- boot/runtime/core.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'boot/runtime/core.c') diff --git a/boot/runtime/core.c b/boot/runtime/core.c index c911666..f6c4ef8 100644 --- a/boot/runtime/core.c +++ b/boot/runtime/core.c @@ -4,13 +4,16 @@ * used during bootstrapping, while the full * catskill standard library is not yet available. * - * copyright (c) 2025, mel g. + * Copyright (c) 2025-2026, Mel G. * - * spdx-license-identifier: mpl-2.0 + * SPDX-License-Identifier: MPL-2.0 */ #pragma once +// enable some posix-only functions, like `fileno`. +#define _POSIX_C_SOURCE 200809L + // common headers for both your average catskill program. // other libc headers can be included with the pragma // `| c-header "header.h"`. -- cgit 1.4.1