diff options
author | John Baldwin <jhb@FreeBSD.org> | 2023-10-16 22:45:43 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2023-10-16 22:45:43 +0000 |
commit | 4efebb3de39a2694169d3032fb6ca567409c2bcb (patch) | |
tree | 688cb534ab2e7f44156a0b1f4af6b9934de95f6b | |
parent | 55231cd180692c7299bff65e608dba20013ec0f7 (diff) | |
download | src-4efebb3de39a2694169d3032fb6ca567409c2bcb.tar.gz src-4efebb3de39a2694169d3032fb6ca567409c2bcb.zip |
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
-rw-r--r-- | sys/cam/ctl/ctl_io.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 |