From 95f897b62ee61e3760d3b3a976e03be3e1cfa82a Mon Sep 17 00:00:00 2001 From: auronandace Date: Mon, 13 Apr 2026 15:19:48 +0100 Subject: [PATCH] verify glob header includes --- src/header/glob/cbindgen.toml | 7 +++++++ 1 file changed, 7 insertions(+) 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"