diff --git a/src/header/glob/cbindgen.toml b/src/header/glob/cbindgen.toml index d8de241ec3..9ac0ac63ad 100644 --- a/src/header/glob/cbindgen.toml +++ b/src/header/glob/cbindgen.toml @@ -2,10 +2,10 @@ # # Spec quotations relating to includes: # - "The header shall define the size_t type as described in ." -# -# size_t is defined in stddef.h (sys/types.h gets size_t by including stddef.h) -# just use stddef.h to avoid importing all of sys/types.h -sys_includes = ["stddef.h"] +sys_includes = [] +after_includes = """ +#include // for size_t from sys/types.h +""" include_guard = "_RELIBC_GLOB_H" language = "C" style = "type"