summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS5
-rw-r--r--sysdeps/darwin/glibtop_suid.h2
-rw-r--r--sysdeps/darwin/open.c2
3 files changed, 9 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 0d912850..78e3611d 100644
--- a/NEWS
+++ b/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:
diff --git a/sysdeps/darwin/glibtop_suid.h b/sysdeps/darwin/glibtop_suid.h
index 165a4d45..df8edd00 100644
--- a/sysdeps/darwin/glibtop_suid.h
+++ b/sysdeps/darwin/glibtop_suid.h
@@ -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);
};
diff --git a/sysdeps/darwin/open.c b/sysdeps/darwin/open.c
index 4fc77ac1..577b5193 100644
--- a/sysdeps/darwin/open.c
+++ b/sysdeps/darwin/open.c
@@ -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>