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