(tcp_connect) [_WIN32]: Add ws2tcpip.h to allow tcp_connect() to
compile when HAVE_GETADDRINFO is enabled.
This commit is contained in:
parent
d9ddf9b24a
commit
9cd99dd336
1 changed files with 1 additions and 0 deletions
|
@ -49,6 +49,7 @@
|
|||
#include <unistd.h>
|
||||
#else
|
||||
#include <winsock2.h>
|
||||
#include <ws2tcpip.h>
|
||||
#endif
|
||||
#include "misc.h"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue