From 1c7191e7349e612a44523cde7fa2340ffe8f1c8f Mon Sep 17 00:00:00 2001 From: Bruce Richardson Date: Thu, 6 Jun 2019 16:40:16 +0100 Subject: [PATCH] kernel/freebsd: fix module build on latest head Internal changes in the freebsd kernel have meant that additional includes are now necessary to build the kernel modules for DPDK. Tested with latest bsd HEAD revision. Bugzilla ID: 282 Cc: stable@dpdk.org Signed-off-by: Bruce Richardson --- kernel/freebsd/contigmem/contigmem.c | 3 +++ kernel/freebsd/nic_uio/nic_uio.c | 1 + 2 files changed, 4 insertions(+) diff --git a/kernel/freebsd/contigmem/contigmem.c b/kernel/freebsd/contigmem/contigmem.c index 1715b5dc51..64e0a7fecd 100644 --- a/kernel/freebsd/contigmem/contigmem.c +++ b/kernel/freebsd/contigmem/contigmem.c @@ -13,10 +13,13 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include #include +#include #include #include #include +#include #include diff --git a/kernel/freebsd/nic_uio/nic_uio.c b/kernel/freebsd/nic_uio/nic_uio.c index 401b487e16..7a81694c92 100644 --- a/kernel/freebsd/nic_uio/nic_uio.c +++ b/kernel/freebsd/nic_uio/nic_uio.c @@ -11,6 +11,7 @@ __FBSDID("$FreeBSD$"); #include /* structs, prototypes for pci bus stuff and DEVMETHOD */ #include #include +#include #include #include -- 2.20.1