Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Oct 2023 22:48:01 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 4efebb3de39a - main - ctl: Make ctl_io.h more self-contained
Message-ID:  <202310162248.39GMm1Ej012679@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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