Skip to content

Commit fb1f4d1

Browse files
committed
Even more test fixes
1 parent 18bafad commit fb1f4d1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/liblibc/lib.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -2457,6 +2457,7 @@ pub mod consts {
24572457
pub const SHUT_RDWR: c_int = 2;
24582458
}
24592459
pub mod extra {
2460+
use SOCKET;
24602461
use types::os::arch::c95::{c_int, c_long};
24612462
use types::os::arch::extra::{WORD, DWORD, BOOL, HANDLE};
24622463

@@ -2663,7 +2664,7 @@ pub mod consts {
26632664

26642665
pub const MAX_PROTOCOL_CHAIN: DWORD = 7;
26652666
pub const WSAPROTOCOL_LEN: DWORD = 255;
2666-
pub const INVALID_SOCKET: DWORD = !0;
2667+
pub const INVALID_SOCKET: SOCKET = !0;
26672668

26682669
pub const DETACHED_PROCESS: DWORD = 0x00000008;
26692670
pub const CREATE_NEW_PROCESS_GROUP: DWORD = 0x00000200;

0 commit comments

Comments
 (0)