#include <winsock2.h> on Windows.
MinGW complained about it not being included.
This commit is contained in:
parent
c0af4c37d2
commit
62ee9b776d
1 changed files with 1 additions and 0 deletions
1
have.h
1
have.h
|
|
@ -41,6 +41,7 @@
|
||||||
|
|
||||||
#ifdef HAVE_MINGW
|
#ifdef HAVE_MINGW
|
||||||
#include <w32api.h>
|
#include <w32api.h>
|
||||||
|
#include <winsock2.h>
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <ws2tcpip.h>
|
#include <ws2tcpip.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue