summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2014-07-08 13:19:16 +0000
committerderaadt <deraadt@openbsd.org>2014-07-08 13:19:16 +0000
commitf2b527da98d1cb45fadf16386c3687cfe386f0a1 (patch)
tree6726f0b602a88d91cf459a12d9c130fed59b4e12
parentthe #ifdef _KERNEL can wrap the entire file. uvm_extern.h only pulls (diff)
downloadwireguard-openbsd-f2b527da98d1cb45fadf16386c3687cfe386f0a1.tar.xz
wireguard-openbsd-f2b527da98d1cb45fadf16386c3687cfe386f0a1.zip
rearrange some includes. also, pull in uvm/uvm.h because soon sysctl.h
won't be pulling in the uvm side of the kitchen.
-rw-r--r--sys/uvm/uvm_meter.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/uvm/uvm_meter.c b/sys/uvm/uvm_meter.c
index 2c0f5c49aec..bbb7dae19f5 100644
--- a/sys/uvm/uvm_meter.c
+++ b/sys/uvm/uvm_meter.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_meter.c,v 1.32 2014/05/06 11:50:14 mpi Exp $ */
+/* $OpenBSD: uvm_meter.c,v 1.33 2014/07/08 13:19:16 deraadt Exp $ */
/* $NetBSD: uvm_meter.c,v 1.21 2001/07/14 06:36:03 matt Exp $ */
/*
@@ -42,12 +42,13 @@
*/
#include <sys/param.h>
-#include <sys/proc.h>
#include <sys/systm.h>
#include <sys/kernel.h>
-#include <sys/vmmeter.h>
+#include <sys/proc.h>
#include <sys/sysctl.h>
+#include <sys/vmmeter.h>
#include <sys/exec.h>
+#include <uvm/uvm.h>
#ifdef UVM_SWAP_ENCRYPT
#include <uvm/uvm_swap.h>