diff --git a/lib/base/win32.hpp b/lib/base/win32.hpp index 0965e1bd8..ef90352c1 100644 --- a/lib/base/win32.hpp +++ b/lib/base/win32.hpp @@ -40,6 +40,7 @@ #endif /* __MINGW32__ */ typedef int socklen_t; +typedef SSIZE_T ssize_t; #define MAXPATHLEN MAX_PATH