diff --git a/src/header/sys_stat/cbindgen.toml b/src/header/sys_stat/cbindgen.toml index a922349e9f..61ca0da6b4 100644 --- a/src/header/sys_stat/cbindgen.toml +++ b/src/header/sys_stat/cbindgen.toml @@ -5,9 +5,9 @@ # - "The header shall define the timespec structure as described in . Times shall be given in seconds since the Epoch." # - "Inclusion of the header may make visible all symbols from the header." sys_includes = ["sys/types.h"] -include_guard = "_SYS_STAT_H" +include_guard = "_RELIBC_SYS_STAT_H" after_includes = """ -#include // for timespec +#include // for timespec from time.h #define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR) #define S_ISCHR(mode) (((mode) & S_IFMT) == S_IFCHR) diff --git a/src/header/sys_statvfs/cbindgen.toml b/src/header/sys_statvfs/cbindgen.toml index 7d75072153..fa324209cd 100644 --- a/src/header/sys_statvfs/cbindgen.toml +++ b/src/header/sys_statvfs/cbindgen.toml @@ -3,7 +3,7 @@ # Spec quotations relating to includes: # - "The header shall define the fsblkcnt_t and fsfilcnt_t types as described in ." sys_includes = ["sys/types.h"] -include_guard = "_SYS_STATVFS_H" +include_guard = "_RELIBC_SYS_STATVFS_H" language = "C" style = "Tag" no_includes = true