Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Apr 2023 00:27:11 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: 757fc6666b87 - main - cam: Include stdbool.h for userland
Message-ID:  <202304160027.33G0RBCC083686@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=757fc6666b876bb4cdbbc6fab735faa228d15489

commit 757fc6666b876bb4cdbbc6fab735faa228d15489
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2023-04-16 00:25:00 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-04-16 00:25:22 +0000

    cam: Include stdbool.h for userland
    
    Sponsored by:           Netflix
---
 sys/cam/cam.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sys/cam/cam.h b/sys/cam/cam.h
index 6bec8b46f417..721ab6b7d865 100644
--- a/sys/cam/cam.h
+++ b/sys/cam/cam.h
@@ -38,6 +38,9 @@
 #endif
 
 #include <sys/cdefs.h>
+#ifndef _KERNEL
+#include <stdbool.h>
+#endif
 
 typedef u_int path_id_t;
 typedef u_int target_id_t;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202304160027.33G0RBCC083686>