Merge branch 'threads-features' into 'master'

Fix threads includes and gnu-binutils compilation

See merge request redox-os/relibc!1324
This commit is contained in:
Jeremy Soller
2026-05-13 08:20:31 -06:00
2 changed files with 6 additions and 2 deletions
+3 -1
View File
@@ -1,5 +1,7 @@
# stdint.h needed for uint64_t due to rlim_t and constants u64
# TODO POSIX says rlim_t can be unsigned int but including stdint.h is considered namespace pollution
# sys/time.h brings in sys/select.h which brings in bits/timeval.h
sys_includes = ["sys/time.h"]
sys_includes = ["stdint.h", "sys/time.h"]
after_includes = """
#include <bits/id-t.h> // for id_t from sys/types.h
"""
+3 -1
View File
@@ -1,4 +1,6 @@
sys_includes = []
# time.h brings in features.h
# features.h required for Rust never type (no return)
sys_includes = ["time.h"]
include_guard = "_RELIBC_THREADS_H"
language = "C"
style = "tag"