X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=src%2Fstdio%2Ffgetwc.c;h=8626d54caa5dba9a5513da8ffaf180652443bf12;hp=5e420594da00dbf9bce0105508f6f3ef11487f08;hb=835f9f950e2f6059532bd9ab9857a856ed21a4fd;hpb=e3cd6c5c265cd481db6e0c5b529855d99f0bda30 diff --git a/src/stdio/fgetwc.c b/src/stdio/fgetwc.c index 5e420594..8626d54c 100644 --- a/src/stdio/fgetwc.c +++ b/src/stdio/fgetwc.c @@ -1,4 +1,6 @@ #include "stdio_impl.h" +#include +#include wint_t __fgetwc_unlocked(FILE *f) { @@ -34,7 +36,6 @@ wint_t __fgetwc_unlocked(FILE *f) if (l == -1) return WEOF; } - FUNLOCK(f); return wc; }