Fix Linux build

This commit is contained in:
MysterD 2020-09-12 19:27:25 -07:00
parent 6c8050a564
commit fc9d7022b5

View file

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