- Added Windows dependent header code

This commit is contained in:
Paul Bakker 2011-10-12 09:19:31 +00:00
parent fa1c592860
commit 5a8352294b

View File

@ -32,6 +32,18 @@
#include <stdio.h> #include <stdio.h>
#include <unistd.h> #include <unistd.h>
#if defined(_WIN32) || defined(_WIN32_WCE)
#include <winsock2.h>
#include <windows.h>
#if defined(_WIN32_WCE)
#pragma comment( lib, "ws2.lib" )
#else
#pragma comment( lib, "ws2_32.lib" )
#endif
#endif
#include "polarssl/config.h" #include "polarssl/config.h"
#include "polarssl/base64.h" #include "polarssl/base64.h"