diff --git a/include/spdlog/details/tcp_client-windows.h b/include/spdlog/details/tcp_client-windows.h index a82687b2..76e73a36 100644 --- a/include/spdlog/details/tcp_client-windows.h +++ b/include/spdlog/details/tcp_client-windows.h @@ -57,11 +57,7 @@ public: } SOCKET fd() const { return socket_; } - -#include -#include - - // Returns 0 on success, SOCKET_ERROR on failure (check WSAGetLastError()). + int connect_socket_with_timeout(SOCKET sockfd, const struct sockaddr *addr, int addrlen,