fix bug in dladdr that prevented resolving addresses in the PLT
[oweals/musl.git] / src / stdio / fgetws.c
index 2e76b56547c7a8df43c913825c8ce7e43027cb4d..195cb4355a14b10b05b0b50cf293456b5b7b4f75 100644 (file)
@@ -1,8 +1,9 @@
 #include "stdio_impl.h"
+#include <wchar.h>
 
 wint_t __fgetwc_unlocked(FILE *);
 
-wchar_t *fgetws(wchar_t *s, int n, FILE *f)
+wchar_t *fgetws(wchar_t *restrict s, int n, FILE *restrict f)
 {
        wchar_t *p = s;