From 5a8352294b283ea6da44c14b37c578fd5bd365cc Mon Sep 17 00:00:00 2001 From: Paul Bakker Date: Wed, 12 Oct 2011 09:19:31 +0000 Subject: [PATCH] - Added Windows dependent header code --- programs/ssl/ssl_mail_client.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/programs/ssl/ssl_mail_client.c b/programs/ssl/ssl_mail_client.c index 3d25091da..2adff52c9 100644 --- a/programs/ssl/ssl_mail_client.c +++ b/programs/ssl/ssl_mail_client.c @@ -32,6 +32,18 @@ #include #include +#if defined(_WIN32) || defined(_WIN32_WCE) + +#include +#include + +#if defined(_WIN32_WCE) +#pragma comment( lib, "ws2.lib" ) +#else +#pragma comment( lib, "ws2_32.lib" ) +#endif +#endif + #include "polarssl/config.h" #include "polarssl/base64.h"