From de5013d7b6efb58c86955f3cb79b7715ecc992f5 Mon Sep 17 00:00:00 2001 From: theraven Date: Wed, 28 Mar 2012 12:11:54 +0000 Subject: Correctly expose xlocale functions if people include the headers in the wrong order (as some ports apparently do). Approved by: dim (mentor) --- include/time.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/time.h') 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 #endif __END_DECLS -- cgit v1.1