diff options
| author | David Chisnall <theraven@FreeBSD.org> | 2012-03-28 12:11:54 +0000 |
|---|---|---|
| committer | David Chisnall <theraven@FreeBSD.org> | 2012-03-28 12:11:54 +0000 |
| commit | 3ac9d659890471a1936268bfec06e74caf9025df (patch) | |
| tree | 017678a192a23335e68a28fe397622367d1cc587 /include/string.h | |
| parent | 86e4703fa6904240616f9ab1d313c10e3ec80afa (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.h | 2 |
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 |
