Fix Darwin build.

Patch by  David Evans.
Bug https://bugzilla.gnome.org/show_bug.cgi?id=753743 .
This commit is contained in:
Benoît Dejean
2015-08-18 16:43:00 +02:00
parent d10a584e40
commit eec96d8ae8
3 changed files with 9 additions and 0 deletions

5
NEWS
View File

@@ -1,3 +1,8 @@
18 August 2015: Overview of changes in 2.31.90.1
================================================
* Darwin:
- Fixed build.
16 August 2015: Overview of changes in 2.31.90
=============================================
* ABI changes:

View File

@@ -22,6 +22,8 @@
G_BEGIN_DECLS
#include <glibtop_machine.h>
static inline void glibtop_suid_enter (glibtop *server) {
setreuid (server->machine->uid, server->machine->euid);
};

View File

@@ -23,6 +23,8 @@
#include <glibtop/cpu.h>
#include <glibtop/open.h>
#include <glibtop_machine.h>
#include <mach/mach_host.h>
#include <mach/mach_init.h>
#include <mach/mach_interface.h>