diff options
author | Jasper Lievisse Adriaanse <jasper@humppa.nl> | 2014-07-10 13:15:50 +0200 |
---|---|---|
committer | Jasper Lievisse Adriaanse <jasper@humppa.nl> | 2014-07-10 13:15:50 +0200 |
commit | 9a887feed2147f32ac360be92405e41ad324ff95 (patch) | |
tree | 271316c63c4b1ce5030520fcc2710ddf60a7f12b | |
parent | 81dfeb526cfe7eb865d4fe46475b54d4e9ea81f6 (diff) | |
download | libgtop-9a887feed2147f32ac360be92405e41ad324ff95.tar.gz |
Unbreak build on OpenBSD after recent header changes.
-rw-r--r-- | sysdeps/openbsd/procmap.c | 4 | ||||
-rw-r--r-- | 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 28a89225..c9b687cb 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 36e0f648..62ebe586 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 ... */ |