Fix Linux build

This commit is contained in:
MysterD 2020-09-12 19:27:25 -07:00
parent cf50e65ab9
commit 12652330f8
1 changed files with 0 additions and 3 deletions

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