summaryrefslogtreecommitdiff
path: root/lib/libkvm/kvm_proc.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2013-11-01 15:57:57 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2013-11-01 15:57:57 +0000
commit8ee3f54226eae158cb0ccdaa1ea4a6cfd9b9a442 (patch)
tree875abbedf141adfe4c29497b51c6b00347229d19 /lib/libkvm/kvm_proc.c
parentf08d5d6d785003f3576f94c94a7461f7786aabad (diff)
reduce use of <sys/user.h>
ok guenther millert
Diffstat (limited to 'lib/libkvm/kvm_proc.c')
-rw-r--r--lib/libkvm/kvm_proc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libkvm/kvm_proc.c b/lib/libkvm/kvm_proc.c
index 84c33aea9a1..28cc3c96e62 100644
--- a/lib/libkvm/kvm_proc.c
+++ b/lib/libkvm/kvm_proc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kvm_proc.c,v 1.48 2013/01/14 06:32:37 guenther Exp $ */
+/* $OpenBSD: kvm_proc.c,v 1.49 2013/11/01 15:57:56 deraadt Exp $ */
/* $NetBSD: kvm_proc.c,v 1.30 1999/03/24 05:50:50 mrg Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -70,7 +70,6 @@
*/
#include <sys/param.h>
-#include <sys/user.h>
#include <sys/proc.h>
#include <sys/exec.h>
#include <sys/stat.h>
@@ -81,6 +80,7 @@
#include <unistd.h>
#include <nlist.h>
#include <kvm.h>
+#include <errno.h>
#include <uvm/uvm_extern.h>
#include <uvm/uvm_amap.h>