diff --git a/src/header/time/cbindgen.toml b/src/header/time/cbindgen.toml index b223e844b8..e120841100 100644 --- a/src/header/time/cbindgen.toml +++ b/src/header/time/cbindgen.toml @@ -9,16 +9,22 @@ # - "NULL As described in ." # - "Inclusion of the header may make visible all symbols from the header." # +# stddef.h brings in size_t and NULL +# bits/timespec.h brings in time_t # features.h included for deprecated annotations -sys_includes = ["sys/types.h", "stddef.h", "features.h"] +sys_includes = ["stddef.h", "features.h"] include_guard = "_RELIBC_TIME_H" language = "C" style = "Tag" no_includes = true cpp_compat = true after_includes = """ -#include // for timespec -#include // for locale_t from locale.h +#include // for clock_t from sys/types.h +#include // for clockid_t from sys/types.h +#include // for pid_t from sys/types.h +#include // for timer_t from sys/types.h +#include // for timespec +#include // for locale_t from locale.h struct sigevent; """