From b252a794e0ce079c69363e733501c3029fa5a657 Mon Sep 17 00:00:00 2001 From: auronandace Date: Tue, 17 Mar 2026 17:11:42 +0000 Subject: [PATCH] verify inttypes header includes --- src/header/inttypes/cbindgen.toml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/header/inttypes/cbindgen.toml b/src/header/inttypes/cbindgen.toml index f923cb6804..28710c9e1c 100644 --- a/src/header/inttypes/cbindgen.toml +++ b/src/header/inttypes/cbindgen.toml @@ -1,4 +1,11 @@ -sys_includes = ["stdint.h", "wchar.h"] +# POSIX header spec: https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/inttypes.h.html +# +# Spec quotations relating to includes: +# - "The header shall include the header." +# - "wchar_t As described in ." +# +# bits/wchar.h brings in both stdint.h and stddef.h +sys_includes = ["bits/wchar.h"] include_guard = "_RELIBC_INTTYPES_H" trailer = "#include " language = "C"