fix compiling error on win

This commit is contained in:
Dhilan007 2014-01-12 11:02:48 +08:00
parent 71ad9d7dd4
commit d11bfeb8d4
1 changed files with 1 additions and 0 deletions

View File

@ -28,6 +28,7 @@
#if defined(_MSC_VER) || defined(__MINGW32__)
#include <BaseTsd.h>
#include <WinSock2.h>
//typedef SSIZE_T ssize_t;
// ssize_t was redefined as int in libwebsockets.h.
// Therefore, to avoid conflict, we needs the same definition.