Fixed Linux compilation.
This commit is contained in:
parent
cc1284a753
commit
4169af1ce1
@ -6,7 +6,8 @@
|
||||
#ifndef _WIN32
|
||||
#include <netdb.h>
|
||||
#include <unistd.h>
|
||||
#include <arpa/inet.h> //inet_ntoa()
|
||||
#include <arpa/inet.h> // inet_ntoa()
|
||||
#include <sys/ioctl.h> // ioctl()
|
||||
#else
|
||||
#define socklen_t int
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user