git: 15601268b99f - stable/14 - ctl: Make ctl_io.h more self-contained

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Tue, 02 Jan 2024 20:52:34 UTC
The branch stable/14 has been updated by jhb:

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

commit 15601268b99fae809d5b163a8f94f648833d9c31
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2023-10-16 22:45:43 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2024-01-02 19:20:37 +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
    
    (cherry picked from commit 4efebb3de39a2694169d3032fb6ca567409c2bcb)
---
 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