aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoxivs <[email protected]>2014-05-05 01:27:10 +0200
committerNoxivs <[email protected]>2014-05-05 01:27:10 +0200
commit5ddcbee4e4e024e6d1f37628c7977614607a71e3 (patch)
tree4a51e6ba871a625dbaf3adfe1f807edb4c2a43e5
parentUpdate docs URL (diff)
downloadrust-openssl-5ddcbee4e4e024e6d1f37628c7977614607a71e3.tar.xz
rust-openssl-5ddcbee4e4e024e6d1f37628c7977614607a71e3.zip
link win32
-rw-r--r--ssl/ffi.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/ssl/ffi.rs b/ssl/ffi.rs
index fd6514ae..4d949738 100644
--- a/ssl/ffi.rs
+++ b/ssl/ffi.rs
@@ -99,6 +99,9 @@ pub static XN_FLAG_MULTILINE: c_ulong = 0x2a40006;
#[link(name="ssl")]
#[link(name="crypto")]
+#[link(name="gdi32")]
+#[link(name="wsock32")]
+#[link(name="m")]
extern "C" {
pub fn CRYPTO_num_locks() -> c_int;
pub fn CRYPTO_set_locking_callback(func: extern "C" fn(mode: c_int,