diff options
Diffstat (limited to 'boot/runtime/core.c')
| -rw-r--r-- | boot/runtime/core.c | 7 |
1 files changed, 5 insertions, 2 deletions
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. <mel@rnrd.eu> + * Copyright (c) 2025-2026, Mel G. <mel@rnrd.eu> * - * 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"`. |
