Merge pull request #2310 from osconnoisseur/fix_fcntl_h

Include <fcntl.h> instead of the non-standard <sys/fcntl.h>
This commit is contained in:
Duncan 2015-11-16 12:28:54 +00:00
commit aacde9ddc3
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ extern "C" {
#include <netdb.h> #include <netdb.h>
#include <netinet/tcp.h> #include <netinet/tcp.h>
#include <sys/socket.h> #include <sys/socket.h>
#include <sys/fcntl.h> #include <fcntl.h>
typedef int SOCKET; typedef int SOCKET;
#define SOCKET_ERROR -1 #define SOCKET_ERROR -1
#define INVALID_SOCKET -1 #define INVALID_SOCKET -1