summaryrefslogtreecommitdiffstats
path: root/include/monetary.h
diff options
context:
space:
mode:
authortheraven <theraven@FreeBSD.org>2012-03-28 12:11:54 +0000
committertheraven <theraven@FreeBSD.org>2012-03-28 12:11:54 +0000
commitde5013d7b6efb58c86955f3cb79b7715ecc992f5 (patch)
tree017678a192a23335e68a28fe397622367d1cc587 /include/monetary.h
parent21244ace965c07de82582a9d0101b1dfb283a40b (diff)
downloadFreeBSD-src-de5013d7b6efb58c86955f3cb79b7715ecc992f5.zip
FreeBSD-src-de5013d7b6efb58c86955f3cb79b7715ecc992f5.tar.gz
Correctly expose xlocale functions if people include the headers in the wrong
order (as some ports apparently do). Approved by: dim (mentor)
Diffstat (limited to 'include/monetary.h')
-rw-r--r--include/monetary.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/monetary.h b/include/monetary.h
index ade6a88..93f82c1 100644
--- a/include/monetary.h
+++ b/include/monetary.h
@@ -43,6 +43,9 @@ typedef __ssize_t ssize_t;
#endif
__BEGIN_DECLS
+#ifdef _XLOCALE_H_
+#include <xlocale/_monetary.h>
+#endif
ssize_t strfmon(char * __restrict, size_t, const char * __restrict, ...);
__END_DECLS
OpenPOWER on IntegriCloud