From 33408eddb0ec616a4f14e5a638239505eadae054 Mon Sep 17 00:00:00 2001 From: auronandace Date: Tue, 19 May 2026 13:35:25 +0100 Subject: [PATCH] add bits_clockid_t to after_includes --- src/header/semaphore/cbindgen.toml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/header/semaphore/cbindgen.toml b/src/header/semaphore/cbindgen.toml index c0024ed9ea..06159c85b2 100644 --- a/src/header/semaphore/cbindgen.toml +++ b/src/header/semaphore/cbindgen.toml @@ -1,11 +1,9 @@ -# TODO clean up namespace pollution from fcntl later -# # fcntl.h brings in O_CREAT and O_EXCL -# fcntl.h brings in sys/stat.h which brings in sys/types.h which brings in clockid_t (needed for sem_clockwait) sys_includes = ["fcntl.h"] include_guard = "_RELIBC_SEMAPHORE_H" after_includes = """ -#include // for timespec +#include // for clockid_t from sys/types.h +#include // for timespec from time.h """ language = "C" style = "Type"