Module Name: src Committed By: riastradh Date: Tue Jul 11 11:37:29 UTC 2023
Modified Files: src/sys/sys: ksem.h Log Message: sys/ksem.h: Hack around fstat(8) abuse of _KERNEL. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/sys/sys/ksem.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/sys/ksem.h diff -u src/sys/sys/ksem.h:1.16 src/sys/sys/ksem.h:1.17 --- src/sys/sys/ksem.h:1.16 Tue Jul 11 09:48:56 2023 +++ src/sys/sys/ksem.h Tue Jul 11 11:37:29 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: ksem.h,v 1.16 2023/07/11 09:48:56 riastradh Exp $ */ +/* $NetBSD: ksem.h,v 1.17 2023/07/11 11:37:29 riastradh Exp $ */ /* * Copyright (c) 2002 Alfred Perlstein <alf...@freebsd.org> @@ -40,7 +40,10 @@ struct timespec; #include <sys/condvar.h> #include <sys/mutex.h> #include <sys/queue.h> + +#ifndef _KMEMUSER /* XXX hack for fstat(8) */ #include <sys/systm.h> +#endif struct lwp; struct proc;