summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2022-02-20 00:09:31 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2022-02-20 00:09:31 +0000
commitfc1fe33388f13a6a46e1df8c9c56eace0104a040 (patch)
treec361a6dce3067551b5b4baa8c9dbdf4a35eb0e1c
parentdcec42031b30f3a84a4f8a5670ea67487e141043 (diff)
sys/proc.h requires sys/signal.h (will become visible when sys/param.h
is removed)
-rw-r--r--lib/libkvm/kvm.c3
-rw-r--r--usr.bin/systat/vmstat.c3
-rw-r--r--usr.bin/vmstat/vmstat.c3
-rw-r--r--usr.bin/w/proc_compare.c3
-rw-r--r--usr.sbin/procmap/procmap.c3
-rw-r--r--usr.sbin/pstat/pstat.c3
6 files changed, 12 insertions, 6 deletions
diff --git a/lib/libkvm/kvm.c b/lib/libkvm/kvm.c
index e23f93c9c9c..2309ae95cd7 100644
--- a/lib/libkvm/kvm.c
+++ b/lib/libkvm/kvm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kvm.c,v 1.70 2021/12/01 16:51:57 deraadt Exp $ */
+/* $OpenBSD: kvm.c,v 1.71 2022/02/20 00:09:29 deraadt Exp $ */
/* $NetBSD: kvm.c,v 1.43 1996/05/05 04:31:59 gwr Exp $ */
/*-
@@ -35,6 +35,7 @@
*/
#include <sys/param.h> /* MAXCOMLEN MID_MACHINE */
+#include <sys/signal.h>
#include <sys/proc.h>
#include <sys/ioctl.h>
#include <sys/stat.h>
diff --git a/usr.bin/systat/vmstat.c b/usr.bin/systat/vmstat.c
index 9c5d87734d4..ba8d1a5608f 100644
--- a/usr.bin/systat/vmstat.c
+++ b/usr.bin/systat/vmstat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmstat.c,v 1.91 2019/06/28 13:35:04 deraadt Exp $ */
+/* $OpenBSD: vmstat.c,v 1.92 2022/02/20 00:09:29 deraadt Exp $ */
/* $NetBSD: vmstat.c,v 1.5 1996/05/10 23:16:40 thorpej Exp $ */
/*-
@@ -37,6 +37,7 @@
#include <sys/param.h> /* MAXCOMLEN */
#include <sys/types.h>
#include <sys/namei.h>
+#include <sys/signal.h>
#include <sys/proc.h>
#include <sys/sched.h>
#include <sys/stat.h>
diff --git a/usr.bin/vmstat/vmstat.c b/usr.bin/vmstat/vmstat.c
index 4b7123a9445..a17c8379fa7 100644
--- a/usr.bin/vmstat/vmstat.c
+++ b/usr.bin/vmstat/vmstat.c
@@ -1,5 +1,5 @@
/* $NetBSD: vmstat.c,v 1.29.4.1 1996/06/05 00:21:05 cgd Exp $ */
-/* $OpenBSD: vmstat.c,v 1.151 2021/07/12 15:09:20 beck Exp $ */
+/* $OpenBSD: vmstat.c,v 1.152 2022/02/20 00:09:29 deraadt Exp $ */
/*
* Copyright (c) 1980, 1986, 1991, 1993
@@ -32,6 +32,7 @@
#include <sys/param.h> /* MAXCOMLEN */
#include <sys/time.h>
+#include <sys/signal.h>
#include <sys/proc.h>
#include <sys/namei.h>
#include <sys/malloc.h>
diff --git a/usr.bin/w/proc_compare.c b/usr.bin/w/proc_compare.c
index 77be7a9e389..4cc4ea6459e 100644
--- a/usr.bin/w/proc_compare.c
+++ b/usr.bin/w/proc_compare.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: proc_compare.c,v 1.15 2015/01/16 06:40:14 deraadt Exp $ */
+/* $OpenBSD: proc_compare.c,v 1.16 2022/02/20 00:09:29 deraadt Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -30,6 +30,7 @@
*/
#include <sys/param.h> /* MAXCOMLEN */
+#include <sys/signal.h>
#include <sys/proc.h>
#include <sys/sysctl.h>
#include <sys/time.h>
diff --git a/usr.sbin/procmap/procmap.c b/usr.sbin/procmap/procmap.c
index c8421ec8d9f..be1df69f9a7 100644
--- a/usr.sbin/procmap/procmap.c
+++ b/usr.sbin/procmap/procmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: procmap.c,v 1.67 2019/11/29 19:56:40 deraadt Exp $ */
+/* $OpenBSD: procmap.c,v 1.68 2022/02/20 00:09:29 deraadt Exp $ */
/* $NetBSD: pmap.c,v 1.1 2002/09/01 20:32:44 atatat Exp $ */
/*
@@ -38,6 +38,7 @@
#include <sys/types.h>
#include <sys/time.h>
#include <sys/exec.h>
+#include <sys/signal.h>
#include <sys/proc.h>
#include <sys/vnode.h>
#include <sys/mount.h>
diff --git a/usr.sbin/pstat/pstat.c b/usr.sbin/pstat/pstat.c
index f618409f2a4..3a4c09e4298 100644
--- a/usr.sbin/pstat/pstat.c
+++ b/usr.sbin/pstat/pstat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pstat.c,v 1.127 2021/11/15 15:14:24 millert Exp $ */
+/* $OpenBSD: pstat.c,v 1.128 2022/02/20 00:09:30 deraadt Exp $ */
/* $NetBSD: pstat.c,v 1.27 1996/10/23 22:50:06 cgd Exp $ */
/*-
@@ -32,6 +32,7 @@
#include <sys/param.h> /* MAXCOMLEN DEV_BSIZE */
#include <sys/types.h>
+#include <sys/signal.h>
#include <sys/proc.h>
#include <sys/time.h>
#include <sys/vnode.h>