The branch main has been updated by kfv: URL: https://cgit.FreeBSD.org/src/commit/?id=fc9d02cb29ed8505eeb4f90348b7318ddcfae434
commit fc9d02cb29ed8505eeb4f90348b7318ddcfae434 Author: Faraz Vahedi <[email protected]> AuthorDate: 2026-08-24 13:47:15 +0000 Commit: Faraz Vahedi <[email protected]> CommitDate: 2026-08-24 13:47:15 +0000 libc: Add <time.h> C23 feature test macro Define the __STDC_VERSION_TIME_H__ feature test macro as the header fully conforms to C23. Reviewed by: fuz Approved by: fuz (mentor) MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D59134 --- include/time.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/include/time.h b/include/time.h index 295df3b5790a..fed2805e03f1 100644 --- a/include/time.h +++ b/include/time.h @@ -34,12 +34,11 @@ * SUCH DAMAGE. */ -/* - */ - #ifndef _TIME_H_ #define _TIME_H_ +#define __STDC_VERSION_TIME_H__ 202311L + #include <sys/cdefs.h> #include <sys/_null.h> #include <sys/_types.h>
