summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2009-06-07 10:44:01 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2009-06-07 10:44:01 +0000
commite253149bc97d1e942d2d74b16e28456c8a7118d3 (patch)
treeac391a3a884bc622cb7f899e034b20390e6ef9aa /lib
parentf3255b36f3dc2d3d4c02f5359217561afdb8975e (diff)
Avoid including machine/cpu.h
Diffstat (limited to 'lib')
-rw-r--r--lib/libkvm/kvm_file2.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libkvm/kvm_file2.c b/lib/libkvm/kvm_file2.c
index 0d92abddcc6..e72f8c6ac66 100644
--- a/lib/libkvm/kvm_file2.c
+++ b/lib/libkvm/kvm_file2.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kvm_file2.c,v 1.1 2009/06/07 03:09:34 millert Exp $ */
+/* $OpenBSD: kvm_file2.c,v 1.2 2009/06/07 10:44:00 millert Exp $ */
/*
* Copyright (c) 2009 Todd C. Miller <Todd.Miller@courtesan.com>
@@ -46,7 +46,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: kvm_file2.c,v 1.1 2009/06/07 03:09:34 millert Exp $";
+static char *rcsid = "$OpenBSD: kvm_file2.c,v 1.2 2009/06/07 10:44:00 millert Exp $";
#endif /* LIBC_SCCS and not lint */
/*
@@ -58,12 +58,12 @@ static char *rcsid = "$OpenBSD: kvm_file2.c,v 1.1 2009/06/07 03:09:34 millert Ex
#include <sys/param.h>
#define _KERNEL
-#include <machine/cpu.h>
#include <sys/ucred.h>
-#include <sys/proc.h>
#include <sys/file.h>
#include <sys/mount.h>
#include <sys/uio.h>
+#include <sys/selinfo.h>
+#include <sys/proc.h>
#include <dev/systrace.h>
#undef _KERNEL
#include <sys/vnode.h>