From d1ff2d0a0a07d9055bea547b11a10d74dad42b44 Mon Sep 17 00:00:00 2001 From: auronandace Date: Wed, 6 May 2026 12:26:40 +0100 Subject: [PATCH] verify sys_wait header includes --- src/header/sys_wait/cbindgen.toml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/header/sys_wait/cbindgen.toml b/src/header/sys_wait/cbindgen.toml index fc45e7bbc8..6eb7e4776e 100644 --- a/src/header/sys_wait/cbindgen.toml +++ b/src/header/sys_wait/cbindgen.toml @@ -1,4 +1,10 @@ -sys_includes = ["sys/types.h", "sys/resource.h"] +# POSIX header spec: https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/sys_wait.h.html +# +# Spec quotations relating to includes: +# - "The header shall define the id_t and pid_t types as described in ." +# - "The header shall define the siginfo_t type and the sigval union as described in ." +# - "Inclusion of the header may also make visible all symbols from ." +sys_includes = ["sys/types.h", "signal.h"] include_guard = "_RELIBC_SYS_WAIT_H" after_includes = """