From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] contigmem: include to fix FreeBSD build Date: Tue, 09 Jan 2018 16:38:36 +0100 Message-ID: <1610689.PI46IlHyXN@xps> References: <20171201132006.GB2552@bricha3-MOBL3.ger.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Bruce Richardson To: kefu chai Return-path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 38EB51B1B2 for ; Tue, 9 Jan 2018 16:39:00 +0100 (CET) In-Reply-To: <20171201132006.GB2552@bricha3-MOBL3.ger.corp.intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 > > --- > As before: > > Acked-by: Bruce Richardson Applied, thanks