Fix compilation errors on Windows
This commit is contained in:
parent
20466bad8f
commit
cadd1969d9
5 changed files with 11 additions and 5 deletions
|
@ -8,6 +8,7 @@
|
|||
// winsock2.h must be included first in order to ensure it is included before
|
||||
// windows.h.
|
||||
#include <winsock2.h>
|
||||
#include <ws2tcpip.h>
|
||||
#elif defined(OS_POSIX)
|
||||
#include <arpa/inet.h>
|
||||
#include <errno.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue