diff options
-rw-r--r-- | src/util/os_socket.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/util/os_socket.h b/src/util/os_socket.h index 0e413ef353e..0d6f8749176 100644 --- a/src/util/os_socket.h +++ b/src/util/os_socket.h @@ -10,6 +10,10 @@ #include <stdio.h> #include <stdbool.h> +#ifdef _MSC_VER +#include <BaseTsd.h> +typedef SSIZE_T ssize_t; +#endif #ifdef __cplusplus extern "C" { |