git: c02a28754bc2 - main - Fix build after 2c7dc6bae9fd.

Alexander Motin mav at FreeBSD.org
Sun Feb 21 22:21:38 UTC 2021


The branch main has been updated by mav:

URL: https://cgit.FreeBSD.org/src/commit/?id=c02a28754bc229c05e8baf9b6632cbd59bc73e48

commit c02a28754bc229c05e8baf9b6632cbd59bc73e48
Author:     Alexander Motin <mav at FreeBSD.org>
AuthorDate: 2021-02-21 22:21:14 +0000
Commit:     Alexander Motin <mav at FreeBSD.org>
CommitDate: 2021-02-21 22:21:14 +0000

    Fix build after 2c7dc6bae9fd.
    
    MFC after:      1 month
---
 sys/cam/ctl/ctl_io.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sys/cam/ctl/ctl_io.h b/sys/cam/ctl/ctl_io.h
index 60f8aef82d02..349cb02820d9 100644
--- a/sys/cam/ctl/ctl_io.h
+++ b/sys/cam/ctl/ctl_io.h
@@ -42,6 +42,10 @@
 #ifndef	_CTL_IO_H_
 #define	_CTL_IO_H_
 
+#ifndef _KERNEL
+#include <stdbool.h>
+#endif
+
 #define	CTL_MAX_CDBLEN	32
 /*
  * Uncomment this next line to enable printing out times for I/Os


More information about the dev-commits-src-all mailing list