summaryrefslogtreecommitdiffstats
path: root/lib/libkvm
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2014-07-11 07:38:05 +0000
committerderaadt <deraadt@openbsd.org>2014-07-11 07:38:05 +0000
commit24c56fd59a273191d5a72535150d61a78c684436 (patch)
tree9799bc4bae7f269bf4a42ea5bd1ee4cd00840c73 /lib/libkvm
parentadd additional includes required to build with -DOPENSSL_NO_DEPRECATED (diff)
downloadwireguard-openbsd-24c56fd59a273191d5a72535150d61a78c684436.tar.xz
wireguard-openbsd-24c56fd59a273191d5a72535150d61a78c684436.zip
the one userland file which wants uvmexp snooped via kmem, gets to use the
special rule that sys/sysctl.h gets it. mips64 always wanted special treatment. found by todd
Diffstat (limited to 'lib/libkvm')
-rw-r--r--lib/libkvm/kvm_mips64.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libkvm/kvm_mips64.c b/lib/libkvm/kvm_mips64.c
index 6d43353bf2e..80a233427e3 100644
--- a/lib/libkvm/kvm_mips64.c
+++ b/lib/libkvm/kvm_mips64.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kvm_mips64.c,v 1.13 2013/11/01 15:57:56 deraadt Exp $ */
+/* $OpenBSD: kvm_mips64.c,v 1.14 2014/07/11 07:38:05 deraadt Exp $ */
/* $NetBSD: kvm_mips.c,v 1.3 1996/03/18 22:33:44 thorpej Exp $ */
/*-
@@ -42,6 +42,7 @@
#include <sys/param.h>
#include <sys/proc.h>
#include <sys/stat.h>
+#include <sys/sysctl.h>
#include <unistd.h>
#include <stdlib.h>
#include <nlist.h>