1
0
mirror of https://github.com/Swordfish90/cool-retro-term.git synced 2025-01-31 10:11:20 +00:00

Merge pull request #58 from guitorri/osx-headers

fix compilation errors, OSX 10.6-10.9
This commit is contained in:
Filippo Scognamiglio 2014-08-03 15:22:26 +02:00
commit e9e3732b26

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 * );