[dpdk-dev] [PATCH] contigmem: include <sys/vmmeter.h> to fix FreeBSD build
bruce.richardson at intel.com
Fri Dec 1 11:20:46 CET 2017
On Thu, Nov 30, 2017 at 02:00:38PM +0800, kefu chai wrote:
> otherwise the build fails with
> 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);
> 1 error generated.
> *** Error code 1
> Signed-off-by: Kefu Chai <tchaikov at gmail.com>
The commit log could do with being updated to note that the error occurs
with, currently unreleased, FreeBSD 12 Otherwise:
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
More information about the dev