From: Bruce Richardson Date: Thu, 6 Jun 2019 15:40:16 +0000 (+0100) Subject: kernel/freebsd: fix module build on latest head X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=1c7191e7349e612a44523cde7fa2340ffe8f1c8f;p=dpdk.git 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 --- 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