From: Kefu Chai Date: Fri, 1 Dec 2017 11:22:39 +0000 (+0800) Subject: contigmem: fix build on FreeBSD 12 X-Git-Tag: spdx-start~758 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=4a386cfeadaa747d88fa19c3cbe1bd93bbcde4f5;p=dpdk.git contigmem: fix build on FreeBSD 12 include to fix build otherwise the build fails with FreeBSD 12, like In file included from contigmem.c:57: /usr/srcs/head/src/sys/vm/vm_phys.h:122:10: error: use of undeclared identifier 'vm_cnt' return (vm_cnt.v_free_count += adj); ^ Signed-off-by: Kefu Chai Acked-by: Bruce Richardson --- diff --git a/lib/librte_eal/bsdapp/contigmem/contigmem.c b/lib/librte_eal/bsdapp/contigmem/contigmem.c index 4b389fbcce..1715b5dc51 100644 --- a/lib/librte_eal/bsdapp/contigmem/contigmem.c +++ b/lib/librte_eal/bsdapp/contigmem/contigmem.c @@ -16,6 +16,7 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include #include