Add proper includes to compile on linux (patch by gualteri)

This commit is contained in:
riccardom 2009-01-23 22:13:13 +00:00
parent d2070ca6e5
commit 1b10babf27
1 changed files with 4 additions and 0 deletions

View File

@ -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