Osx #272

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

View File

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