From da8de4b03481e108eaa2a0724710b8225a5d6698 Mon Sep 17 00:00:00 2001 From: auronandace Date: Sat, 9 May 2026 13:15:34 +0100 Subject: [PATCH] remove stddef header from glob --- src/header/glob/cbindgen.toml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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"