git: 8c9dc47b5fca - main - vnic: Add missing #include

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Tue, 19 May 2026 17:18:57 UTC
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=8c9dc47b5fcaf58a89b1511118b78a65737b20cc

commit 8c9dc47b5fcaf58a89b1511118b78a65737b20cc
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2026-05-19 17:18:00 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2026-05-19 17:18:00 +0000

    vnic: Add missing #include
    
    Reported by:    bz, olivier
    Fixes:          6dc813301a17 ("sys: Use is_pci_device instead of direct comparisons to devclasses")
    Sponsored by:   Chelsio Communications
---
 sys/dev/vnic/thunder_bgx_fdt.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/dev/vnic/thunder_bgx_fdt.c b/sys/dev/vnic/thunder_bgx_fdt.c
index d8c5459f2914..e038c0b728eb 100644
--- a/sys/dev/vnic/thunder_bgx_fdt.c
+++ b/sys/dev/vnic/thunder_bgx_fdt.c
@@ -52,6 +52,7 @@
 #include <dev/ofw/openfirm.h>
 #include <dev/ofw/ofw_bus.h>
 #include <dev/mii/miivar.h>
+#include <dev/pci/pcivar.h>
 
 #include "thunder_bgx.h"
 #include "thunder_bgx_var.h"