Add proper includes to compile on linux (patch by gualteri)
This commit is contained in:
parent
d2070ca6e5
commit
1b10babf27
|
@ -30,6 +30,10 @@
|
|||
#define socket_t SOCKET
|
||||
#define sockaddr_t SOCKADDR
|
||||
#else
|
||||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <sys/socket.h>
|
||||
#define socket_t int
|
||||
#define sockaddr_t struct sockaddr
|
||||
|
|
Loading…
Reference in New Issue