summaryrefslogtreecommitdiffstats
path: root/libc/include/wchar.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/include/wchar.h')
-rw-r--r--libc/include/wchar.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libc/include/wchar.h b/libc/include/wchar.h
index ef88e04..a4e19f0 100644
--- a/libc/include/wchar.h
+++ b/libc/include/wchar.h
@@ -149,6 +149,11 @@ typedef void *wctrans_t;
extern wint_t towctrans(wint_t, wctrans_t);
extern wctrans_t wctrans (const char *);
+#if _XOPEN_SOURCE >= 700 || _POSIX_C_SOURCE >= 200809L
+wchar_t* wcsdup(const wchar_t*);
+size_t wcsnlen(const wchar_t*, size_t);
+#endif
+
__END_DECLS
#endif /* _WCHAR_H_ */