Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Oct 2023 22:47:59 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: 2e539c6f5aba - main - cam: Make <cam/scsi/scsi_all.h> more self-contained
Message-ID:  <202310162247.39GMlxWg012589@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=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>



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