X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fstdio%2Ffgetwc.c;h=8626d54caa5dba9a5513da8ffaf180652443bf12;hb=6d861ac87491a207e4599c44b61d142f0a601c2d;hp=5e420594da00dbf9bce0105508f6f3ef11487f08;hpb=e3cd6c5c265cd481db6e0c5b529855d99f0bda30;p=musl 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; }