diff --git a/src/RoveComm/RoveCommPacket.h b/src/RoveComm/RoveCommPacket.h index 4b162b0..ac0d83b 100644 --- a/src/RoveComm/RoveCommPacket.h +++ b/src/RoveComm/RoveCommPacket.h @@ -20,16 +20,18 @@ #include #if defined(__ROVECOMM_WINDOWS_MODE__) && __ROVECOMM_WINDOWS_MODE__ == 1 +#if !defined(ssize_t) && defined(_MSC_VER) typedef int ssize_t; +#endif #ifndef _WIN32_WINNT #define _WIN32_WINNT 0x0600 #elif _WIN32_WINNT < 0x0600 #undef _WIN32_WINNT #define _WIN32_WINNT 0x0600 #endif +#include #include #include -#include #else #include #include