diff options
Diffstat (limited to 'src/util/io.h')
-rw-r--r-- | src/util/io.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/util/io.h b/src/util/io.h index f20ff3e8..7586e07a 100644 --- a/src/util/io.h +++ b/src/util/io.h @@ -7,10 +7,12 @@ #define UTIL_IO_H #ifdef _WIN32 -#include <BaseTsd.h> +#include <basetsd.h> #include <winsock2.h> #include <ws2tcpip.h> +#ifdef _MSC_VER typedef SSIZE_T ssize_t; +#endif #define _HOST_NAME_MAX MAX_COMPUTERNAME_LENGTH #else |