[libgtop] Unbreak build on OpenBSD after recent header changes.
- From: Jasper Lievisse Adriaanse <jasperla src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgtop] Unbreak build on OpenBSD after recent header changes.
- Date: Thu, 10 Jul 2014 11:16:14 +0000 (UTC)
commit 9a887feed2147f32ac360be92405e41ad324ff95
Author: Jasper Lievisse Adriaanse <jasper humppa nl>
Date: Thu Jul 10 13:15:50 2014 +0200
Unbreak build on OpenBSD after recent header changes.
sysdeps/openbsd/procmap.c | 4 ++++
sysdeps/openbsd/procmem.c | 4 ++++
2 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/sysdeps/openbsd/procmap.c b/sysdeps/openbsd/procmap.c
index 28a8922..c9b687c 100644
--- a/sysdeps/openbsd/procmap.c
+++ b/sysdeps/openbsd/procmap.c
@@ -41,6 +41,10 @@
#include <sys/ucred.h>
#include <sys/sysctl.h>
+/* XXX until uvm gets cleaned up */
+#include <sys/mutex.h>
+typedef int boolean_t;
+
#undef _KERNEL
#define _UVM_UVM_AMAP_I_H_ 1
#define _UVM_UVM_MAP_I_H_ 1
diff --git a/sysdeps/openbsd/procmem.c b/sysdeps/openbsd/procmem.c
index 36e0f64..62ebe58 100644
--- a/sysdeps/openbsd/procmem.c
+++ b/sysdeps/openbsd/procmem.c
@@ -38,6 +38,10 @@
#include <sys/ucred.h>
#include <sys/sysctl.h>
+
+/* XXX until uvm gets cleaned up */
+#include <sys/mutex.h>
+typedef int boolean_t;
#include <uvm/uvm.h>
/* Fixme ... */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]