aboutsummaryrefslogtreecommitdiff
path: root/include/string.h
diff options
context:
space:
mode:
authorDavid Chisnall <theraven@FreeBSD.org>2012-03-04 15:31:13 +0000
committerDavid Chisnall <theraven@FreeBSD.org>2012-03-04 15:31:13 +0000
commita8ed63bb3d75a8057a0ed2e758964b7785106f33 (patch)
treeefbc43bd49ea1f884ea3864a768f788cee4827e7 /include/string.h
parent2dee0268431dbcfe88ece41d5e3748e001bcb920 (diff)
downloadsrc-a8ed63bb3d75a8057a0ed2e758964b7785106f33.tar.gz
src-a8ed63bb3d75a8057a0ed2e758964b7785106f33.zip
Reapply 227753 (xlocale cleanup), plus some fixes so that it passes build
universe with gcc. Approved by: dim (mentor)
Notes
Notes: svn path=/head/; revision=232498
Diffstat (limited to 'include/string.h')
-rw-r--r--include/string.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/string.h b/include/string.h
index 239a76f5ec1a..074c20471910 100644
--- a/include/string.h
+++ b/include/string.h
@@ -132,6 +132,10 @@ void swab(const void * __restrict, void * __restrict, ssize_t);
#endif /* _SWAB_DECLARED */
#endif /* __BSD_VISIBLE */
+
+#if __POSIX_VISIBLE >= 200809
+#include <xlocale/_string.h>
+#endif
__END_DECLS
#endif /* _STRING_H_ */