remove stddef header from glob

This commit is contained in:
auronandace
2026-05-09 13:15:34 +01:00
parent 3caae5a009
commit da8de4b034
+4 -4
View File
@@ -2,10 +2,10 @@
#
# Spec quotations relating to includes:
# - "The <glob.h> header shall define the size_t type as described in <sys/types.h>."
#
# 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 <bits/size-t.h> // for size_t from sys/types.h
"""
include_guard = "_RELIBC_GLOB_H"
language = "C"
style = "type"