Skip to content

Commit 2d00dc3

Browse files
committed
Merge pull request #25884 from sfackler/backport-recvfrom-fix
Backport fix windows recvfrom definition to beta
2 parents 87fa730 + e572408 commit 2d00dc3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/liblibc/lib.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -6037,7 +6037,6 @@ pub mod funcs {
60376037
use types::common::c95::{c_void};
60386038
use types::os::common::bsd44::{socklen_t, sockaddr, SOCKET};
60396039
use types::os::arch::c95::c_int;
6040-
use types::os::arch::posix88::ssize_t;
60416040

60426041
extern "system" {
60436042
pub fn socket(domain: c_int, ty: c_int, protocol: c_int) -> SOCKET;
@@ -6062,7 +6061,7 @@ pub mod funcs {
60626061
flags: c_int) -> c_int;
60636062
pub fn recvfrom(socket: SOCKET, buf: *mut c_void, len: c_int,
60646063
flags: c_int, addr: *mut sockaddr,
6065-
addrlen: *mut c_int) -> ssize_t;
6064+
addrlen: *mut c_int) -> c_int;
60666065
pub fn sendto(socket: SOCKET, buf: *const c_void, len: c_int,
60676066
flags: c_int, addr: *const sockaddr,
60686067
addrlen: c_int) -> c_int;

0 commit comments

Comments
 (0)