Osx #272

Closed
wan721 wants to merge 16 commits from osx into master
Showing only changes of commit 2f11060364 - Show all commits

View File

@ -1,5 +1,13 @@
#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 * );