X-Git-Url: https://git.openssl.org/gitweb/?a=blobdiff_plain;f=crypto%2Fbio%2Fb_sock2.c;h=5d82ab22dc304c337d70140f849d4a0f253a5eb6;hb=f8e1c190d56c5ec53e3ae5ee72669862460cfc22;hp=823732d64e1a352880d01e22735af6cfdc48785d;hpb=6258e244bf702dc981c8ad63ab61133b8bbf2ba3;p=openssl.git diff --git a/crypto/bio/b_sock2.c b/crypto/bio/b_sock2.c index 823732d64e..5d82ab22dc 100644 --- a/crypto/bio/b_sock2.c +++ b/crypto/bio/b_sock2.c @@ -133,7 +133,9 @@ int BIO_connect(int sock, const BIO_ADDR *addr, int options) */ int BIO_bind(int sock, const BIO_ADDR *addr, int options) { +# ifndef OPENSSL_SYS_WINDOWS int on = 1; +# endif if (sock == -1) { BIOerr(BIO_F_BIO_BIND, BIO_R_INVALID_SOCKET);