From 8bd41cd595b67cfaa443bd84a6d3674e2d7a262d Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Sat, 15 Aug 2020 15:46:20 -0400 Subject: always define L_ctermid and include space for a wchar_t string in io_options --- src/stdio/_stdio.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') diff --git a/src/stdio/_stdio.h b/src/stdio/_stdio.h index f82edaa0..5ec8b884 100644 --- a/src/stdio/_stdio.h +++ b/src/stdio/_stdio.h @@ -1,6 +1,7 @@ #ifndef ___STDIO_H__ #define ___STDIO_H__ +#include #include #include @@ -10,6 +11,10 @@ #include "sys/types/pid_t.c" #endif +#ifndef L_ctermid +#include "L_ctermid.c" +#endif + struct __FILE { fpos_t pos; char *buf; @@ -45,6 +50,7 @@ struct __FILE { struct io_options { const char *fnname; char *string; + wchar_t *wstring; struct __FILE *stream; size_t maxlen; int fd; -- cgit v1.2.1