Skip to content

Commit

Permalink
fix compilation errors, OSX 10.6-10.9
Browse files Browse the repository at this point in the history
* add missing headers
* #12
  • Loading branch information
guitorri committed Aug 2, 2014
1 parent d3d1407 commit 2f11060
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion konsole-qml-plugin/src/utmpmac.h
Original file line number Diff line number Diff line change
@@ -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 * );
Expand Down

0 comments on commit 2f11060

Please sign in to comment.