Date: Tue, 18 Oct 2022 05:40:24 GMT From: Gleb Smirnoff <glebius@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: d6eabdac2ef4 - main - dpaa2: fix build without WITNESS Message-ID: <202210180540.29I5eO4f068116@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by glebius: URL: https://cgit.FreeBSD.org/src/commit/?id=d6eabdac2ef444b62aba186c793fbd5d4226b157 commit d6eabdac2ef444b62aba186c793fbd5d4226b157 Author: Gleb Smirnoff <glebius@FreeBSD.org> AuthorDate: 2022-10-18 05:38:40 +0000 Commit: Gleb Smirnoff <glebius@FreeBSD.org> CommitDate: 2022-10-18 05:38:40 +0000 dpaa2: fix build without WITNESS Using mutex(9) requires including <sys/lock.h> per manual page. With WITNESS the header was cryptically included via dpaa_ni.h -> mbuf.h. --- sys/dev/dpaa2/dpaa2_io.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/dev/dpaa2/dpaa2_io.c b/sys/dev/dpaa2/dpaa2_io.c index 14b5fa31cbc9..e2b7992bfdb6 100644 --- a/sys/dev/dpaa2/dpaa2_io.c +++ b/sys/dev/dpaa2/dpaa2_io.c @@ -46,6 +46,7 @@ __FBSDID("$FreeBSD$"); #include <sys/rman.h> #include <sys/module.h> #include <sys/malloc.h> +#include <sys/lock.h> #include <sys/mutex.h> #include <sys/_cpuset.h> #include <sys/cpuset.h>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202210180540.29I5eO4f068116>