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"