From 918aab5b2e7d5a81c389375f6bffb782e362307c Mon Sep 17 00:00:00 2001 From: Patrick Wuttke Date: Fri, 2 Feb 2024 00:08:52 +0100 Subject: [PATCH] Added missing declarations of stdout and stderr. --- targets/_any/stdlib/include/stdio.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/targets/_any/stdlib/include/stdio.h b/targets/_any/stdlib/include/stdio.h index 75e1dc1..2428723 100644 --- a/targets/_any/stdlib/include/stdio.h +++ b/targets/_any/stdlib/include/stdio.h @@ -8,12 +8,16 @@ #include #include "./detail/common.h" +#define stdout __stdout +#define stderr __stderr #define stdin __stdin BA_EXTERN_C_BEGIN typedef struct __file FILE; +extern FILE* __stdout; +extern FILE* __stderr; extern FILE* __stdin; static int EOF = -1;