summaryrefslogtreecommitdiffstats
path: root/include/time.h
diff options
context:
space:
mode:
authortheraven <theraven@FreeBSD.org>2012-03-04 15:31:13 +0000
committertheraven <theraven@FreeBSD.org>2012-03-04 15:31:13 +0000
commitb0968176b3a821598a31de6698e01931d1417584 (patch)
treeefbc43bd49ea1f884ea3864a768f788cee4827e7 /include/time.h
parent857b0ba99662198d5ba4e3609b908ede4434b182 (diff)
downloadFreeBSD-src-b0968176b3a821598a31de6698e01931d1417584.zip
FreeBSD-src-b0968176b3a821598a31de6698e01931d1417584.tar.gz
Reapply 227753 (xlocale cleanup), plus some fixes so that it passes build
universe with gcc. Approved by: dim (mentor)
Diffstat (limited to 'include/time.h')
-rw-r--r--include/time.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/time.h b/include/time.h
index add970e..812575a 100644
--- a/include/time.h
+++ b/include/time.h
@@ -183,6 +183,10 @@ void tzsetwall(void);
time_t timelocal(struct tm * const);
time_t timegm(struct tm * const);
#endif /* __BSD_VISIBLE */
+
+#if __POSIX_VISIBLE >= 200809
+#include <xlocale/_time.h>
+#endif
__END_DECLS
#endif /* !_TIME_H_ */
OpenPOWER on IntegriCloud