diff options
author | theraven <theraven@FreeBSD.org> | 2012-03-28 12:11:54 +0000 |
---|---|---|
committer | theraven <theraven@FreeBSD.org> | 2012-03-28 12:11:54 +0000 |
commit | de5013d7b6efb58c86955f3cb79b7715ecc992f5 (patch) | |
tree | 017678a192a23335e68a28fe397622367d1cc587 /include/time.h | |
parent | 21244ace965c07de82582a9d0101b1dfb283a40b (diff) | |
download | FreeBSD-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/time.h')
-rw-r--r-- | include/time.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/time.h b/include/time.h index 812575a..19c948d 100644 --- a/include/time.h +++ b/include/time.h @@ -184,7 +184,7 @@ time_t timelocal(struct tm * const); time_t timegm(struct tm * const); #endif /* __BSD_VISIBLE */ -#if __POSIX_VISIBLE >= 200809 +#if __POSIX_VISIBLE >= 200809 || defined(_XLOCALE_H_) #include <xlocale/_time.h> #endif __END_DECLS |