projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix mismatched signatures for strtod_l family
[musl]
/
src
/
stdio
/
open_wmemstream.c
diff --git
a/src/stdio/open_wmemstream.c
b/src/stdio/open_wmemstream.c
index
cb693ea
..
ed1b561
100644
(file)
--- a/
src/stdio/open_wmemstream.c
+++ b/
src/stdio/open_wmemstream.c
@@
-3,6
+3,8
@@
#include <errno.h>
#include <limits.h>
#include <string.h>
+#include <stdlib.h>
+#include "libc.h"
struct cookie {
wchar_t **bufp;
@@
-94,5
+96,7
@@
FILE *open_wmemstream(wchar_t **bufp, size_t *sizep)
if (!libc.threaded) f->f.lock = -1;
+ fwide(&f->f, 1);
+
return __ofl_add(&f->f);
}