aboutsummaryrefslogtreecommitdiffstats
path: root/include/inttypes.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/inttypes.h
parent86e4703fa6904240616f9ab1d313c10e3ec80afa (diff)
downloadsrc-3ac9d659890471a1936268bfec06e74caf9025df.tar.gz
src-3ac9d659890471a1936268bfec06e74caf9025df.zip
Correctly expose xlocale functions if people include the headers in the wrong
order (as some ports apparently do). Approved by: dim (mentor)
Notes
Notes: svn path=/head/; revision=233600
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 9aad660eb28d..f702d2c3ca3a 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;