Module Name: src Committed By: martin Date: Wed Jan 19 10:23:00 UTC 2022
Modified Files: src/sys/miscfs/procfs: procfs.h Log Message: Now that an inline function dereferences it, make sure struct proc is declared by including sys/proc.h here. To generate a diff of this commit: cvs rdiff -u -r1.81 -r1.82 src/sys/miscfs/procfs/procfs.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/miscfs/procfs/procfs.h diff -u src/sys/miscfs/procfs/procfs.h:1.81 src/sys/miscfs/procfs/procfs.h:1.82 --- src/sys/miscfs/procfs/procfs.h:1.81 Mon Jan 17 11:20:00 2022 +++ src/sys/miscfs/procfs/procfs.h Wed Jan 19 10:23:00 2022 @@ -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 */