summaryrefslogtreecommitdiff
path: root/lib/libkvm/kvm_mips64.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2021-12-01 16:53:29 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2021-12-01 16:53:29 +0000
commita0d4e04c64bbb5a5849131015c3936080606edcd (patch)
tree4e18bc8ceb56e551cdef20c8b4c6f3a8cf2e9f44 /lib/libkvm/kvm_mips64.c
parentaa2cbba45cd60d64ae13954f2749bfe6a0914572 (diff)
Reduce use of sys/param.h, or annotate the reason why it is needed
(pretty much MAXCOMLEN for struct process or struct core), and remove sys/vnode.h where not needed
Diffstat (limited to 'lib/libkvm/kvm_mips64.c')
-rw-r--r--lib/libkvm/kvm_mips64.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libkvm/kvm_mips64.c b/lib/libkvm/kvm_mips64.c
index 6ab067725de..ea619bb218d 100644
--- a/lib/libkvm/kvm_mips64.c
+++ b/lib/libkvm/kvm_mips64.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kvm_mips64.c,v 1.16 2018/05/03 16:42:07 zhuk Exp $ */
+/* $OpenBSD: kvm_mips64.c,v 1.17 2021/12/01 16:53:28 deraadt Exp $ */
/* $NetBSD: kvm_mips.c,v 1.3 1996/03/18 22:33:44 thorpej Exp $ */
/*-
@@ -39,7 +39,8 @@
* vm code will one day obsolete this module.
*/
-#include <sys/param.h>
+#include <sys/types.h>
+#include <sys/signal.h>
#include <sys/proc.h>
#include <sys/stat.h>
#include <sys/sysctl.h>