diff options
| author | Jakob Kaivo <jkk@ung.org> | 2020-08-15 15:46:20 -0400 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2020-08-15 15:46:20 -0400 |
| commit | 8bd41cd595b67cfaa443bd84a6d3674e2d7a262d (patch) | |
| tree | f86954c2078327796984a4e787dda5770712bda1 /src/stdio | |
| parent | 742ab6c525dde7ae2245ac6874b1139a71716157 (diff) | |
always define L_ctermid and include space for a wchar_t string in io_options
Diffstat (limited to 'src/stdio')
| -rw-r--r-- | src/stdio/_stdio.h | 6 |
1 files changed, 6 insertions, 0 deletions
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 <stddef.h> #include <stdarg.h> #include <stdio.h> @@ -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; |
