diff --git a/src/header/semaphore/cbindgen.toml b/src/header/semaphore/cbindgen.toml index be8f845c58..c0024ed9ea 100644 --- a/src/header/semaphore/cbindgen.toml +++ b/src/header/semaphore/cbindgen.toml @@ -1,4 +1,8 @@ -sys_includes = [] +# 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