Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern Include missing <sys/proc.h>. Hopefully fix build f...



details:   https://anonhg.NetBSD.org/src/rev/15f622a8444b
branches:  trunk
changeset: 956083:15f622a8444b
user:      rin <rin%NetBSD.org@localhost>
date:      Tue Oct 20 22:31:20 2020 +0000

description:
Include missing <sys/proc.h>. Hopefully fix build for everyone except vax,
for which process_machep.c is missing.

diffstat:

 sys/kern/sys_process_lwpstatus.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r db2a8a877913 -r 15f622a8444b sys/kern/sys_process_lwpstatus.c
--- a/sys/kern/sys_process_lwpstatus.c  Tue Oct 20 21:15:47 2020 +0000
+++ b/sys/kern/sys_process_lwpstatus.c  Tue Oct 20 22:31:20 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sys_process_lwpstatus.c,v 1.2 2020/10/20 20:28:55 christos Exp $       */
+/*     $NetBSD: sys_process_lwpstatus.c,v 1.3 2020/10/20 22:31:20 rin Exp $    */
 
 /*-
  * Copyright (c) 2019 The NetBSD Foundation, Inc.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sys_process_lwpstatus.c,v 1.2 2020/10/20 20:28:55 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sys_process_lwpstatus.c,v 1.3 2020/10/20 22:31:20 rin Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_ptrace.h"
@@ -45,6 +45,7 @@
 #include <sys/systm.h>
 #include <sys/errno.h>
 #include <sys/lwp.h>
+#include <sys/proc.h>
 #include <sys/ptrace.h>
 
 #ifndef PTRACE_REGS_ALIGN



Home | Main Index | Thread Index | Old Index