diff --git a/src/header/glob/cbindgen.toml b/src/header/glob/cbindgen.toml index 61c5b4e48f..d8de241ec3 100644 --- a/src/header/glob/cbindgen.toml +++ b/src/header/glob/cbindgen.toml @@ -1,3 +1,10 @@ +# POSIX header spec: https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/glob.h.html +# +# 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"] include_guard = "_RELIBC_GLOB_H" language = "C"