Explorar el Código

Fix addrinfo structure

Jeremy Soller hace 6 años
padre
commit
97312c9ae2
Se han modificado 1 ficheros con 3 adiciones y 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