Merge branch 'syswait-systypes' into 'master'
remove sys_types from the sys_wait header includes See merge request redox-os/relibc!1335
This commit is contained in:
@@ -4,9 +4,11 @@
|
||||
# - "The <sys/wait.h> header shall define the id_t and pid_t types as described in <sys/types.h>."
|
||||
# - "The <sys/wait.h> header shall define the siginfo_t type and the sigval union as described in <signal.h>."
|
||||
# - "Inclusion of the <sys/wait.h> header may also make visible all symbols from <signal.h>."
|
||||
sys_includes = ["sys/types.h", "signal.h"]
|
||||
sys_includes = ["signal.h"]
|
||||
include_guard = "_RELIBC_SYS_WAIT_H"
|
||||
after_includes = """
|
||||
#include <bits/id-t.h> // for id_t from sys/types.h
|
||||
#include <bits/pid-t.h> // for pid_t from sys/types.h
|
||||
|
||||
#define WEXITSTATUS(s) (((s) >> 8) & 0xff)
|
||||
#define WTERMSIG(s) ((s) & 0x7f)
|
||||
|
||||
Reference in New Issue
Block a user