fix compilation errors, OSX 10.6-10.9 #58

Merged
guitorri merged 1 commits from osx-headers into osx 2014-08-03 15:22:26 +02:00

View File

@ -1,6 +1,14 @@
#if defined (__APPLE__) #if defined (__APPLE__)
#include <utmp.h> #include <utmp.h>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <unistd.h>
#include <limits.h>
#include <fcntl.h>
#include <sys/stat.h>
struct utmp *getutent(); struct utmp *getutent();
struct utmp *getutid( struct utmp * ); struct utmp *getutid( struct utmp * );
struct utmp *getutline( struct utmp * ); struct utmp *getutline( struct utmp * );