diff options
Diffstat (limited to 'libssh/init.c')
-rw-r--r-- | libssh/init.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libssh/init.c b/libssh/init.c index f1ae11f0..5a242844 100644 --- a/libssh/init.c +++ b/libssh/init.c @@ -22,6 +22,9 @@ the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "libssh/priv.h" +#ifdef _WIN32 +#include <winsock2.h> +#endif int ssh_finalize() { @@ -31,5 +34,8 @@ int ssh_finalize() #elif defined HAVE_LIBCRYPTO EVP_cleanup(); #endif +#ifdef _WIN32 + WSACleanup(); +#endif return 0; } |