aboutsummaryrefslogtreecommitdiff
path: root/include/langinfo.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/langinfo.h
parent86e4703fa6904240616f9ab1d313c10e3ec80afa (diff)
downloadsrc-3ac9d659890471a1936268bfec06e74caf9025df.tar.gz
src-3ac9d659890471a1936268bfec06e74caf9025df.zip
Notes
Diffstat (limited to 'include/langinfo.h')
-rw-r--r--include/langinfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/langinfo.h b/include/langinfo.h
index 42ad832bb486..8c88efccfa29 100644
--- a/include/langinfo.h
+++ b/include/langinfo.h
@@ -131,7 +131,7 @@ typedef __nl_item nl_item;
__BEGIN_DECLS
char *nl_langinfo(nl_item);
-#if __POSIX_VISIBLE >= 200809
+#if __POSIX_VISIBLE >= 200809 || defined(_XLOCALE_H_)
#include <xlocale/_langinfo.h>
#endif
__END_DECLS