summaryrefslogtreecommitdiffstats
path: root/include/inttypes.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/inttypes.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/inttypes.h')
-rw-r--r--include/inttypes.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/inttypes.h b/include/inttypes.h
index 9aad660..f702d2c 100644
--- a/include/inttypes.h
+++ b/include/inttypes.h
@@ -45,6 +45,9 @@ typedef struct {
} imaxdiv_t;
__BEGIN_DECLS
+#ifdef _XLOCALE_H_
+#include <xlocale/_inttypes.h>
+#endif
intmax_t imaxabs(intmax_t) __pure2;
imaxdiv_t imaxdiv(intmax_t, intmax_t) __pure2;
OpenPOWER on IntegriCloud