diff --git a/src/runtime/rpc/rpc_channel_logger.h b/src/runtime/rpc/rpc_channel_logger.h index 53144956eb80..26d93b82fd60 100644 --- a/src/runtime/rpc/rpc_channel_logger.h +++ b/src/runtime/rpc/rpc_channel_logger.h @@ -27,6 +27,7 @@ #include #include +#include "../../support/socket.h" #include "../minrpc/minrpc_server_logging.h" #include "rpc_channel.h" diff --git a/src/support/socket.h b/src/support/socket.h index 42d5d9004c15..8c1ea621da04 100644 --- a/src/support/socket.h +++ b/src/support/socket.h @@ -31,10 +31,11 @@ #define NOMINMAX #endif +#include #include #include +using ssize_t = SSIZE_T; -using ssize_t = int; #ifdef _MSC_VER #pragma comment(lib, "Ws2_32.lib") #endif