Merge branch 'systimeb-cleanup' into 'master'

remove sys_types from sys_timeb header includes

See merge request redox-os/relibc!1375
This commit is contained in:
Jeremy Soller
2026-05-21 06:49:37 -06:00
+11 -2
View File
@@ -1,5 +1,14 @@
sys_includes = ["sys/types.h"]
include_guard = "_SYS_TIMEB_H"
# POSIX header spec (obsolete): https://pubs.opengroup.org/onlinepubs/009695399/basedefs/sys/timeb.h.html
#
# Spec quotations regarding includes:
# - "The time_t type shall be defined as described in <sys/types.h>."
#
# features.h included for deprecated annotations
sys_includes = ["features.h"]
include_guard = "_RELIBC_SYS_TIMEB_H"
after_includes = """
#include <bits/time-t.h> // for time_t from sys/types.h
"""
language = "C"
style = "Tag"
no_includes = true