git: 2cad2d1a2a1e - stable/14 - cam: Make <cam/scsi/scsi_all.h> more self-contained
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 02 Jan 2024 20:52:31 UTC
The branch stable/14 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=2cad2d1a2a1e9add12d83b30b8f8d854e69dfe4d commit 2cad2d1a2a1e9add12d83b30b8f8d854e69dfe4d Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2023-10-16 22:44:46 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2024-01-02 19:20:36 +0000 cam: Make <cam/scsi/scsi_all.h> more self-contained Include <sys/malloc.h> in the kernel for struct malloc_type. Reviewed by: ken, imp Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D42205 (cherry picked from commit 2e539c6f5aba657c69790d91130ceceeb0b8c38e) --- sys/cam/scsi/scsi_all.h | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/cam/scsi/scsi_all.h b/sys/cam/scsi/scsi_all.h index 937a6632d3be..4842732c8169 100644 --- a/sys/cam/scsi/scsi_all.h +++ b/sys/cam/scsi/scsi_all.h @@ -24,6 +24,7 @@ #include <sys/cdefs.h> #ifdef _KERNEL +#include <sys/malloc.h> #include <machine/stdarg.h> #else #include <stdarg.h>