Compilation fixes for FreeBSD.

This commit is contained in:
Pawel Jakub Dawidek 2012-03-20 14:26:42 +01:00
parent c71f5206aa
commit eb2757fac5
2 changed files with 2 additions and 1 deletions

View File

@ -30,7 +30,7 @@
#define OPEN open
#define LSEEK lseek
#define FSTAT fstat
#elif defined __APPLE__
#elif defined(__APPLE__) || defined(__FreeBSD__)
#define STAT stat
#define OPEN open
#define LSEEK lseek

View File

@ -21,6 +21,7 @@
#define FREERDP_SSPI_KERBEROS_PRIVATE_H
#ifndef _WIN32
#include <netinet/in.h>
#include <netdb.h>
#include <resolv.h>
#include <netinet/in.h>