summaryrefslogtreecommitdiffstats
path: root/include/stdio.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/stdio.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/stdio.h')
-rw-r--r--include/stdio.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/stdio.h b/include/stdio.h
index 02032d9..2fd9125 100644
--- a/include/stdio.h
+++ b/include/stdio.h
@@ -225,6 +225,9 @@ __END_DECLS
#define stderr __stderrp
__BEGIN_DECLS
+#ifdef _XLOCALE_H_
+#include <xlocale/_stdio.h>
+#endif
/*
* Functions defined in ANSI C standard.
*/
OpenPOWER on IntegriCloud