diff --git a/src/header/bits_safamily-t/cbindgen.toml b/src/header/bits_safamily-t/cbindgen.toml index e57059c23d..9b70509927 100644 --- a/src/header/bits_safamily-t/cbindgen.toml +++ b/src/header/bits_safamily-t/cbindgen.toml @@ -7,9 +7,7 @@ # - netinet/in.h # - sys/socket.h # - sys/un.h -# -# stdint.h included for uint16_t -sys_includes = ["stdint.h"] +sys_includes = [] include_guard = "_RELIBC_BITS_SA_FAMILY_T_H" language = "C" style = "type" diff --git a/src/header/bits_safamily-t/mod.rs b/src/header/bits_safamily-t/mod.rs index dc5099887f..706ee0a78e 100644 --- a/src/header/bits_safamily-t/mod.rs +++ b/src/header/bits_safamily-t/mod.rs @@ -1 +1,3 @@ -pub type sa_family_t = u16; +use crate::platform::types::c_ushort; + +pub type sa_family_t = c_ushort;