summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/wchar.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/wchar.h b/include/wchar.h
index ddbb55912..0603089f1 100644
--- a/include/wchar.h
+++ b/include/wchar.h
@@ -783,6 +783,11 @@ libc_hidden_proto(wcsftime_l)
# include <wctype.h>
#endif
+#ifdef _LIBC
+extern size_t __wcslcpy(wchar_t *__restrict dst,
+ const wchar_t *__restrict src, size_t n) attribute_hidden;
+#endif
+
__END_DECLS
#endif /* _WCHAR_H defined */