Merge pull request #507 from pjd/fixes

Compilation fixes for FreeBSD.
This commit is contained in:
Marc-André Moreau 2012-03-20 06:44:24 -07:00
commit bd55533220
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>