summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2022-02-08 12:10:40 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2022-02-08 12:10:40 +0000
commit7216a81ffcc5b64fff37255594db5fd19742a50a (patch)
tree10099c05b9c14dace069de27967ac15bdb7750ab /lib
parenteae3426ea2db8267e1b6f7eb39fc55ba47269a5d (diff)
Using FILL_KPROC() from sysctl.h after rev 1.223 requires a definition
of struct filedesc. Include sys/filedesc.h here to unbreak the build. problem found by and ok tb@
Diffstat (limited to 'lib')
-rw-r--r--lib/libkvm/kvm_proc2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libkvm/kvm_proc2.c b/lib/libkvm/kvm_proc2.c
index d540f8ea242..2675b8f34f5 100644
--- a/lib/libkvm/kvm_proc2.c
+++ b/lib/libkvm/kvm_proc2.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kvm_proc2.c,v 1.35 2021/10/06 00:42:46 deraadt Exp $ */
+/* $OpenBSD: kvm_proc2.c,v 1.36 2022/02/08 12:10:39 jsg Exp $ */
/* $NetBSD: kvm_proc.c,v 1.30 1999/03/24 05:50:50 mrg Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -84,6 +84,7 @@
#include <sys/signalvar.h>
#include <sys/pledge.h>
#include <sys/wait.h>
+#include <sys/filedesc.h>
#include <stddef.h>
#include <stdlib.h>
#include <string.h>