blob: f5d69d8d622daf76a8941741a9c1fc05c55023f3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-sysdeps_darwin_glibtop__suid.h,v 1.1 2016/04/07 11:54:57 youri Exp $
Fix Darwin build.
--- sysdeps/darwin/glibtop_suid.h.orig 2011-06-01 15:40:47.000000000 +0000
+++ 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);
};
|