[dpdk-dev] [PATCH] contigmem: include <sys/vmmeter.h> to fix FreeBSD build
Thomas Monjalon
thomas at monjalon.net
Tue Jan 9 16:38:36 CET 2018
01/12/2017 14:20, Bruce Richardson:
> On Fri, Dec 01, 2017 at 07:22:39PM +0800, kefu chai wrote:
> > 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);
> > ^
> > 1 error generated.
> > *** Error code 1
> >
> > Signed-off-by: Kefu Chai <tchaikov at gmail.com>
> > ---
> As before:
>
> Acked-by: Bruce Richardson <bruce.richardson at intel.com>
Applied, thanks
More information about the dev
mailing list