about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-02-11 16:35:37 -0800
committerAlex Crichton <alex@alexcrichton.com>2015-02-11 16:38:02 -0800
commitfb1f4d11ec6c4cbb2e95cab192105950be98e01b (patch)
treec1593f6ab95c4585b27859f0946e9dbcb7da6f95 /src
parent18bafad027627b69a6529d364bfb52109a25c31a (diff)
downloadrust-fb1f4d11ec6c4cbb2e95cab192105950be98e01b.tar.gz
rust-fb1f4d11ec6c4cbb2e95cab192105950be98e01b.zip
Even more test fixes
Diffstat (limited to 'src')
-rw-r--r--src/liblibc/lib.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/liblibc/lib.rs b/src/liblibc/lib.rs
index 94e4012c5ee..1dec23059e5 100644
--- a/src/liblibc/lib.rs
+++ b/src/liblibc/lib.rs
@@ -2457,6 +2457,7 @@ pub mod consts {
             pub const SHUT_RDWR: c_int = 2;
         }
         pub mod extra {
+            use SOCKET;
             use types::os::arch::c95::{c_int, c_long};
             use types::os::arch::extra::{WORD, DWORD, BOOL, HANDLE};
 
@@ -2663,7 +2664,7 @@ pub mod consts {
 
             pub const MAX_PROTOCOL_CHAIN: DWORD = 7;
             pub const WSAPROTOCOL_LEN: DWORD = 255;
-            pub const INVALID_SOCKET: DWORD = !0;
+            pub const INVALID_SOCKET: SOCKET = !0;
 
             pub const DETACHED_PROCESS: DWORD = 0x00000008;
             pub const CREATE_NEW_PROCESS_GROUP: DWORD = 0x00000200;