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/a105a4dce34d
branches:  trunk
changeset: 945095:a105a4dce34d
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 bee0a560fc82 -r a105a4dce34d 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