Module Name: src Committed By: riastradh Date: Sun Oct 13 21:32:23 UTC 2024
Modified Files: src/include: uchar.h Log Message: uchar.h: Include <sys/featuretest.h> before testing _*_SOURCE. PR lib/58752: various header files test _*_SOURCE macros but don't include sys/featuretest.h PR lib/52374: <uchar.h> missing To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/include/uchar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/include/uchar.h diff -u src/include/uchar.h:1.3 src/include/uchar.h:1.4 --- src/include/uchar.h:1.3 Sat Aug 17 21:24:53 2024 +++ src/include/uchar.h Sun Oct 13 21:32:22 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: uchar.h,v 1.3 2024/08/17 21:24:53 riastradh Exp $ */ +/* $NetBSD: uchar.h,v 1.4 2024/10/13 21:32:22 riastradh Exp $ */ /*- * Copyright (c) 2024 The NetBSD Foundation, Inc. @@ -36,6 +36,7 @@ #define _UCHAR_H #include <sys/ansi.h> +#include <sys/featuretest.h> /* * C23 `2. The macro