projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'nsz/math'
[musl]
/
src
/
stdio
/
fgetwc.c
diff --git
a/src/stdio/fgetwc.c
b/src/stdio/fgetwc.c
index
5e42059
..
8626d54
100644
(file)
--- a/
src/stdio/fgetwc.c
+++ b/
src/stdio/fgetwc.c
@@
-1,4
+1,6
@@
#include "stdio_impl.h"
#include "stdio_impl.h"
+#include <wchar.h>
+#include <errno.h>
wint_t __fgetwc_unlocked(FILE *f)
{
wint_t __fgetwc_unlocked(FILE *f)
{
@@
-34,7
+36,6
@@
wint_t __fgetwc_unlocked(FILE *f)
if (l == -1) return WEOF;
}
if (l == -1) return WEOF;
}
- FUNLOCK(f);
return wc;
}
return wc;
}