mirror of https://github.com/FreeRDP/FreeRDP
libfreerdp-core: fix FreeBSD compilation
This commit is contained in:
parent
f42b5f6a42
commit
42dfd2627b
|
@ -25,11 +25,12 @@
|
|||
|
||||
#ifndef _WIN32
|
||||
#include <netdb.h>
|
||||
#include <net/if.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/socket.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <netinet/in.h>
|
||||
#include <net/if.h>
|
||||
#else
|
||||
#define close(_fd) closesocket(_fd)
|
||||
#endif
|
||||
|
|
|
@ -27,12 +27,12 @@
|
|||
|
||||
#ifndef _WIN32
|
||||
#include <netdb.h>
|
||||
#include <net/if.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
#include <netinet/tcp.h>
|
||||
#include <net/if.h>
|
||||
|
||||
#ifdef __APPLE__
|
||||
#ifndef TCP_KEEPIDLE
|
||||
|
|
Loading…
Reference in New Issue