aboutsummaryrefslogtreecommitdiffstats
path: root/include/stdio.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/stdio.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/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 02032d9788fd..2fd91259e800 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.
*/