summaryrefslogtreecommitdiffstats
path: root/include/wchar.h
diff options
context:
space:
mode:
authortheraven <theraven@FreeBSD.org>2012-03-04 15:31:13 +0000
committertheraven <theraven@FreeBSD.org>2012-03-04 15:31:13 +0000
commitb0968176b3a821598a31de6698e01931d1417584 (patch)
treeefbc43bd49ea1f884ea3864a768f788cee4827e7 /include/wchar.h
parent857b0ba99662198d5ba4e3609b908ede4434b182 (diff)
downloadFreeBSD-src-b0968176b3a821598a31de6698e01931d1417584.zip
FreeBSD-src-b0968176b3a821598a31de6698e01931d1417584.tar.gz
Reapply 227753 (xlocale cleanup), plus some fixes so that it passes build
universe with gcc. Approved by: dim (mentor)
Diffstat (limited to 'include/wchar.h')
-rw-r--r--include/wchar.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/wchar.h b/include/wchar.h
index c641165..4e44b53 100644
--- a/include/wchar.h
+++ b/include/wchar.h
@@ -224,6 +224,10 @@ wchar_t *fgetwln(FILE * __restrict, size_t * __restrict);
size_t wcslcat(wchar_t *, const wchar_t *, size_t);
size_t wcslcpy(wchar_t *, const wchar_t *, size_t);
#endif
+
+#if __POSIX_VISIBLE >= 200809
+#include <xlocale/_wchar.h>
+#endif
__END_DECLS
#endif /* !_WCHAR_H_ */
OpenPOWER on IntegriCloud