contigmem: fix build on FreeBSD 12
authorKefu Chai <tchaikov@gmail.com>
Fri, 1 Dec 2017 11:22:39 +0000 (19:22 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 9 Jan 2018 15:52:16 +0000 (16:52 +0100)
commit4a386cfeadaa747d88fa19c3cbe1bd93bbcde4f5
tree5c4fb4efb40313b2f022faa8ada4f6b119cd7302
parenta9263e3c5ad0b71adb95d686c1c3153865b0e1d2
contigmem: fix build on FreeBSD 12

include <sys/vmmeter.h> 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 <tchaikov@gmail.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
lib/librte_eal/bsdapp/contigmem/contigmem.c