From 3eb7d8b7f5e544bd87be8335fc72b4c09351b4c6 Mon Sep 17 00:00:00 2001 From: auronandace Date: Fri, 15 May 2026 14:23:17 +0100 Subject: [PATCH] remove sys_types from the sys_wait header includes --- src/header/sys_wait/cbindgen.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/header/sys_wait/cbindgen.toml b/src/header/sys_wait/cbindgen.toml index 6eb7e4776e..6fa330d774 100644 --- a/src/header/sys_wait/cbindgen.toml +++ b/src/header/sys_wait/cbindgen.toml @@ -4,9 +4,11 @@ # - "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"] +sys_includes = ["signal.h"] include_guard = "_RELIBC_SYS_WAIT_H" after_includes = """ +#include // for id_t from sys/types.h +#include // for pid_t from sys/types.h #define WEXITSTATUS(s) (((s) >> 8) & 0xff) #define WTERMSIG(s) ((s) & 0x7f)