The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/src/commit/?id=694baf88c2ae5957fdb24ed163993109987e1ef9
commit 694baf88c2ae5957fdb24ed163993109987e1ef9 Author: Faraz Vahedi <[email protected]> AuthorDate: 2026-05-20 10:06:16 +0000 Commit: Robert Clausecker <[email protected]> CommitDate: 2026-06-10 16:14:32 +0000 libc: Suppress <stdalign.h> content for C23 and later C23 deprecates <stdalign.h> and specifies that the header shall provide no content (ยง7.15.1). Signed-off-by: Faraz Vahedi <[email protected]> Pull Request: https://github.com/freebsd/freebsd-src/pull/2223 MFC after: 1 month Reviewed by: imp, fuz --- include/stdalign.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/stdalign.h b/include/stdalign.h index 00ae5677f449..1b439565f588 100644 --- a/include/stdalign.h +++ b/include/stdalign.h @@ -26,6 +26,8 @@ * SUCH DAMAGE. */ +#if __STDC_VERSION__ < 202311L + #ifndef __alignas_is_defined #define __alignas_is_defined 1 @@ -45,3 +47,5 @@ #endif #endif /* !__alignof_is_defined */ + +#endif /* __STDC_VERSION__ < 202311L */
