summaryrefslogtreecommitdiffstats
path: root/usr.sbin/procmap
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2014-07-08 17:19:21 +0000
committerderaadt <deraadt@openbsd.org>2014-07-08 17:19:21 +0000
commite6c6495d62998a12dd778aed8d40dc250167a61c (patch)
tree2b50a8e57aace4e345507cb43ee6062af61f6a1f /usr.sbin/procmap
parentCleanup of getopt argument: -p is not supported anymore. (diff)
downloadwireguard-openbsd-e6c6495d62998a12dd778aed8d40dc250167a61c.tar.xz
wireguard-openbsd-e6c6495d62998a12dd778aed8d40dc250167a61c.zip
decouple struct uvmexp into a new file, so that uvm_extern.h and sysctl.h
don't need to be married. ok guenther miod beck jsing kettenis
Diffstat (limited to 'usr.sbin/procmap')
-rw-r--r--usr.sbin/procmap/procmap.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/procmap/procmap.c b/usr.sbin/procmap/procmap.c
index 0943206c6e1..0a514fd139a 100644
--- a/usr.sbin/procmap/procmap.c
+++ b/usr.sbin/procmap/procmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: procmap.c,v 1.54 2014/07/08 10:15:16 deraadt Exp $ */
+/* $OpenBSD: procmap.c,v 1.55 2014/07/08 17:19:26 deraadt Exp $ */
/* $NetBSD: pmap.c,v 1.1 2002/09/01 20:32:44 atatat Exp $ */
/*
@@ -40,6 +40,9 @@
#include <sys/uio.h>
#include <sys/sysctl.h>
+/* XXX until uvm gets cleaned up */
+typedef int boolean_t;
+
#include <uvm/uvm.h>
#include <uvm/uvm_device.h>
#include <uvm/uvm_amap.h>