git: 0f83811158e8 - main - cam: Make cam.h self-contained for userland

From: Warner Losh <imp_at_FreeBSD.org>
Date: Fri, 01 Dec 2023 01:33:21 UTC
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;