git: 2e539c6f5aba - main - cam: Make <cam/scsi/scsi_all.h> more self-contained
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 16 Oct 2023 22:47:59 UTC
The branch main has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=2e539c6f5aba657c69790d91130ceceeb0b8c38e
commit 2e539c6f5aba657c69790d91130ceceeb0b8c38e
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2023-10-16 22:44:46 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2023-10-16 22:44:46 +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
---
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>