Explorar o código

Fix addrinfo structure

Jeremy Soller %!s(int64=6) %!d(string=hai) anos
pai
achega
97312c9ae2
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      src/header/netdb/cbindgen.toml

+ 3 - 0
src/header/netdb/cbindgen.toml

@@ -4,5 +4,8 @@ trailer = "#include <bits/netdb.h>"
 language = "C"
 style = "Tag"
 
+[export.rename]
+"sockaddr" = "struct sockaddr"
+
 [enum]
 prefix_with_name = true