diff --git a/src/header/sys_resource/cbindgen.toml b/src/header/sys_resource/cbindgen.toml index 359723cac7..43b32e07c4 100644 --- a/src/header/sys_resource/cbindgen.toml +++ b/src/header/sys_resource/cbindgen.toml @@ -1,4 +1,8 @@ -sys_includes = ["sys/types.h", "stdint.h", "sys/time.h"] +# sys/time.h brings in sys/select.h which brings in bits/timeval.h +sys_includes = ["sys/time.h"] +after_includes = """ +#include // for id_t from sys/types.h +""" include_guard = "_RELIBC_SYS_RESOURCE_H" language = "C" style = "Tag"