Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/miscfs/procfs Now that an inline function dereferences i...
details: https://anonhg.NetBSD.org/src/rev/4403639c27b3
branches: trunk
changeset: 359731:4403639c27b3
user: martin <martin%NetBSD.org@localhost>
date: Wed Jan 19 10:23:00 2022 +0000
description:
Now that an inline function dereferences it, make sure struct proc
is declared by including sys/proc.h here.
diffstat:
sys/miscfs/procfs/procfs.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r d18fc098a1dd -r 4403639c27b3 sys/miscfs/procfs/procfs.h
--- a/sys/miscfs/procfs/procfs.h Wed Jan 19 09:30:11 2022 +0000
+++ b/sys/miscfs/procfs/procfs.h Wed Jan 19 10:23:00 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: procfs.h,v 1.81 2022/01/17 11:20:00 bouyer Exp $ */
+/* $NetBSD: procfs.h,v 1.82 2022/01/19 10:23:00 martin Exp $ */
/*
* Copyright (c) 1993
@@ -75,6 +75,8 @@
#include <sys/ptrace.h>
#ifdef _KERNEL
+#include <sys/proc.h>
+
/*
* The different types of node in a procfs filesystem
*/
Home |
Main Index |
Thread Index |
Old Index