git: d6eabdac2ef4 - main - dpaa2: fix build without WITNESS

From: Gleb Smirnoff <glebius_at_FreeBSD.org>
Date: Tue, 18 Oct 2022 05:40:24 UTC
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>