import socklen_t from sys_socket instead of bits
This commit is contained in:
@@ -11,13 +11,12 @@ use crate::{
|
||||
|
||||
use crate::header::{
|
||||
bits_arpainet::htons,
|
||||
bits_socklen_t::socklen_t,
|
||||
errno::*,
|
||||
netinet_in::{IPPROTO_UDP, in_addr, sockaddr_in},
|
||||
sys_socket::{
|
||||
self,
|
||||
constants::{AF_INET, SOCK_DGRAM},
|
||||
sockaddr,
|
||||
sockaddr, socklen_t,
|
||||
},
|
||||
time::{self, timespec},
|
||||
};
|
||||
|
||||
@@ -15,13 +15,12 @@ use crate::{
|
||||
arpa_inet::inet_aton,
|
||||
bits_arpainet::{htons, ntohl},
|
||||
bits_safamily_t::sa_family_t,
|
||||
bits_socklen_t::socklen_t,
|
||||
errno::*,
|
||||
fcntl::O_RDONLY,
|
||||
netinet_in::{in_addr, sockaddr_in, sockaddr_in6},
|
||||
stdlib::atoi,
|
||||
strings::strcasecmp,
|
||||
sys_socket::{constants::AF_INET, sockaddr},
|
||||
sys_socket::{constants::AF_INET, sockaddr, socklen_t},
|
||||
unistd::SEEK_SET,
|
||||
},
|
||||
platform::{
|
||||
|
||||
Reference in New Issue
Block a user