Fix Darwin build.
Patch by David Evans. Bug https://bugzilla.gnome.org/show_bug.cgi?id=753743 .
This commit is contained in:
5
NEWS
5
NEWS
@@ -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:
|
||||
|
@@ -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);
|
||||
};
|
||||
|
@@ -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>
|
||||
|
Reference in New Issue
Block a user