From 58120ee007c359407d1e3a6feb00844d943d01f5 Mon Sep 17 00:00:00 2001 From: auronandace Date: Mon, 16 Feb 2026 17:50:59 +0000 Subject: [PATCH] add sys_types to time bits include for time_t --- src/header/bits_time/cbindgen.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/header/bits_time/cbindgen.toml b/src/header/bits_time/cbindgen.toml index f38ff07f52..817170d32f 100644 --- a/src/header/bits_time/cbindgen.toml +++ b/src/header/bits_time/cbindgen.toml @@ -12,6 +12,9 @@ # - sys/select.h (not currently imported, needed for pselect, no TODO) # - sys/stat.h # - sys/time.h +# +# include sys/types.h to get time_t for timespec +sys_includes = ["sys/types.h"] include_guard = "_RELIBC_BITS_TIME_H" language = "C" style = "Tag"