Date: Fri, 1 Dec 2023 01:33:21 GMT From: Warner Losh <imp@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 0f83811158e8 - main - cam: Make cam.h self-contained for userland Message-ID: <202312010133.3B11XLue057116@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=0f83811158e8bc0ac4a9ab5808abecfb2ad6c0e6 commit 0f83811158e8bc0ac4a9ab5808abecfb2ad6c0e6 Author: Warner Losh <imp@FreeBSD.org> AuthorDate: 2023-12-01 01:18:59 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2023-12-01 01:32:39 +0000 cam: Make cam.h self-contained for userland We reference FILE * here, but don't include stdio.h. Do so (both of these are in !_KERNEL blocks). Sponsored by: Netflix --- sys/cam/cam.h | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/cam/cam.h b/sys/cam/cam.h index 692f515aa1aa..963c9798ddbc 100644 --- a/sys/cam/cam.h +++ b/sys/cam/cam.h @@ -37,6 +37,7 @@ #ifndef _KERNEL #include <stdbool.h> +#include <stdio.h> #endif typedef u_int path_id_t;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202312010133.3B11XLue057116>