Fix build on Windows

This commit is contained in:
Adam Honse 2020-05-02 00:29:22 -05:00
parent 2fe958783c
commit 119741b736
2 changed files with 5 additions and 1 deletions

View file

@ -36,6 +36,10 @@ protected:
std::thread * ConnectionThread;
private:
#ifdef WIN32
WSADATA wsa;
#endif
SOCKET server_sock;
int accept_select(int sockfd, struct sockaddr *addr, socklen_t *addrlen);