ports/net/dpdk/files/patch-kernel-freebsd-nic_uio-nic_uio.c
Conrad Meyer e63981c751 net/dpdk: Fix build after r347984
Address missing implicit includes removed as a header pollution cleanup in
r347984.  Apologies that this wasn't addressed in advance; my spot check
ahead of time seems to have been against the wrong kernel source tree.

I have submitted the same changes to upstream dpdk:

  https://bugs.dpdk.org/show_bug.cgi?id=282

Reviewed by:	mat
Approved by:	mat
Differential Revision:	https://reviews.freebsd.org/D20329
2019-05-22 17:34:25 +00:00

10 lines
440 B
C

--- kernel/freebsd/nic_uio/nic_uio.c.orig 2018-09-05 14:29:02 UTC
+++ kernel/freebsd/nic_uio/nic_uio.c
@@ -9,6 +9,7 @@
#include <sys/kernel.h> /* types used in module initialization */
#include <sys/conf.h> /* cdevsw struct */
#include <sys/bus.h> /* structs, prototypes for pci bus stuff and DEVMETHOD */
+#include <sys/lock.h> /* used by vm_pager.h => MPASS() */
#include <sys/rman.h>
#include <sys/systm.h>
#include <sys/rwlock.h>