summaryrefslogtreecommitdiffstats
path: root/include/langinfo.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/langinfo.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/langinfo.h')
-rw-r--r--include/langinfo.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/langinfo.h b/include/langinfo.h
index 6d6b95f..42ad832 100644
--- a/include/langinfo.h
+++ b/include/langinfo.h
@@ -130,6 +130,10 @@ typedef __nl_item nl_item;
__BEGIN_DECLS
char *nl_langinfo(nl_item);
+
+#if __POSIX_VISIBLE >= 200809
+#include <xlocale/_langinfo.h>
+#endif
__END_DECLS
#endif /* !_LANGINFO_H_ */
OpenPOWER on IntegriCloud