diff --git a/ssl/ffi.rs b/ssl/ffi.rs index fd6514ae..7d6dd275 100644 --- a/ssl/ffi.rs +++ b/ssl/ffi.rs @@ -156,3 +156,8 @@ extern "C" { pub fn BIO_read(b: *BIO, buf: *c_void, len: c_int) -> c_int; pub fn BIO_write(b: *BIO, buf: *c_void, len: c_int) -> c_int; } + +#[cfg(target_os = "win32")] +#[link(name="gdi32")] +#[link(name="wsock32")] +extern { }