aboutsummaryrefslogtreecommitdiff
path: root/include/string.h
diff options
context:
space:
mode:
authorDavid Chisnall <theraven@FreeBSD.org>2012-03-28 12:11:54 +0000
committerDavid Chisnall <theraven@FreeBSD.org>2012-03-28 12:11:54 +0000
commit3ac9d659890471a1936268bfec06e74caf9025df (patch)
tree017678a192a23335e68a28fe397622367d1cc587 /include/string.h
parent86e4703fa6904240616f9ab1d313c10e3ec80afa (diff)
Correctly expose xlocale functions if people include the headers in the wrong
order (as some ports apparently do). Approved by: dim (mentor)
Notes
svn path=/head/; revision=233600
Diffstat (limited to 'include/string.h')
-rw-r--r--include/string.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/string.h b/include/string.h
index 074c20471910..e6a910b96fd3 100644
--- a/include/string.h
+++ b/include/string.h
@@ -133,7 +133,7 @@ void swab(const void * __restrict, void * __restrict, ssize_t);
#endif /* __BSD_VISIBLE */
-#if __POSIX_VISIBLE >= 200809
+#if __POSIX_VISIBLE >= 200809 || defined(_XLOCALE_H_)
#include <xlocale/_string.h>
#endif
__END_DECLS