Fix Windows compilation.
This commit is contained in:
parent
6d6fcc7f93
commit
b2ba671071
|
@ -72,7 +72,7 @@
|
|||
#include <unistd.h>
|
||||
#include <stdarg.h>
|
||||
#else
|
||||
#include <winsock.h>
|
||||
#include <ws2tcpip.h>
|
||||
#endif
|
||||
|
||||
#define BUFFER_MAX_LEN 128
|
||||
|
|
|
@ -32,7 +32,6 @@
|
|||
#include <arpa/inet.h>
|
||||
#include <errno.h>
|
||||
#else
|
||||
#include <winsock2.h>
|
||||
#include <ws2tcpip.h>
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue