Fix Linux build
This commit is contained in:
parent
cf50e65ab9
commit
12652330f8
|
@ -1,13 +1,11 @@
|
|||
#ifndef SOCKET_LINUX_H
|
||||
#define SOCKET_LINUX_H
|
||||
#ifndef WINSOCK
|
||||
|
||||
#include <errno.h>
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <sys/socket.h>
|
||||
#include <fcntl.h>
|
||||
#include "socket.h"
|
||||
|
||||
#define SOCKET unsigned int
|
||||
#define INVALID_SOCKET (unsigned int)(-1)
|
||||
|
@ -20,4 +18,3 @@
|
|||
#define SOCKET_ECONNRESET ECONNRESET
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue