diff options
Diffstat (limited to 'src/util/os_socket.h')
-rw-r--r-- | src/util/os_socket.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util/os_socket.h b/src/util/os_socket.h index db0dc905a2b..70b195184fa 100644 --- a/src/util/os_socket.h +++ b/src/util/os_socket.h @@ -10,10 +10,11 @@ #include <stdio.h> #include <stdbool.h> -#include <unistd.h> #ifdef _MSC_VER #include <BaseTsd.h> typedef SSIZE_T ssize_t; +#else +#include <unistd.h> #endif #ifdef __cplusplus |