git: 4efebb3de39a - main - ctl: Make ctl_io.h more self-contained

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Mon, 16 Oct 2023 22:48:01 UTC
The branch main has been updated by jhb:

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

commit 4efebb3de39a2694169d3032fb6ca567409c2bcb
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2023-10-16 22:45:43 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2023-10-16 22:45:43 +0000

    ctl: Make ctl_io.h more self-contained
    
    Include <cam/scsi/scsi_all.h> for struct scsi_sense_data.
    Include <sys/queue.h> for queue macros.
    
    Reviewed by:    ken, imp
    Sponsored by:   Chelsio Communications
    Differential Revision:  https://reviews.freebsd.org/D42207
---
 sys/cam/ctl/ctl_io.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sys/cam/ctl/ctl_io.h b/sys/cam/ctl/ctl_io.h
index add8ed2e3ac6..115e336bd354 100644
--- a/sys/cam/ctl/ctl_io.h
+++ b/sys/cam/ctl/ctl_io.h
@@ -45,6 +45,9 @@
 #include <stdbool.h>
 #endif
 
+#include <sys/queue.h>
+#include <cam/scsi/scsi_all.h>
+
 #define	CTL_MAX_CDBLEN	32
 /*
  * Uncomment this next line to enable printing out times for I/Os