From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt0-f174.google.com (mail-qt0-f174.google.com [209.85.216.174]) by dpdk.org (Postfix) with ESMTP id 46D512A62 for ; Thu, 30 Nov 2017 07:00:40 +0100 (CET) Received: by mail-qt0-f174.google.com with SMTP id r39so7405725qtr.13 for ; Wed, 29 Nov 2017 22:00:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=rc7+sOqjt+rTCtAV4oJKdwdyL8QPSYAoqqT5WiS+VfM=; b=ad+A+XLLLYrM2oyaaR9s+Vb5rbjWlpHMXbUCUgQ0/duuRuf4gMJUyhcHRgc+CjUuhD TzrsmbyhAm/Ouvd4QzoeqaIbZjtxRp9qx8q+otafX7zNrcVLW1nJlyjnpNfEFK+U2Cyi 5FEoPgw7CvB/UsljMBkHSE+QRgCvkAG8GBNPaAIOyjnntCl6zvUOsqMgfglueLe8gzcn cpSoNe45eMvex/8izctqNZAnxYPZUvLdNk/jadjLAoqFmDRb0v9THkEauIcAat/WGPzB dmhX+cZKMjTzbshfW8io7m3y4HAuxyzGrwXK7JarNdtT+XhsOh/oRJESYY7IyVSBbLOq d/uQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=rc7+sOqjt+rTCtAV4oJKdwdyL8QPSYAoqqT5WiS+VfM=; b=Avzc0HuzEdiBQCtC9o9ruZ+BqW2L71xQ4b2NvBkXwrYIBoKmokMApzq1ZpHQCYmgHB +DLc+QwE53KdisZIjbCYj26EG2b9Y1NC5673oOMd/3qltKO+YdRGySFMxCYeDbj05AK/ BtdlBTHHTOSFpF3BhgEd82LMpq7tQ2kmUIavrXwy5JC+jodM4niiaS19wzuBPZx4Wbno i+1/LYYZJvF+V7mPuPRHn4w/SO4dRjTag5AyjXVOx4uS49TZpPEmFZOyOOc+2wrUAQUQ duzj5O/fLQt5zEFVnjRlJxECS1iCcAiUBznaOlvgv2Qgck3i3KlSKLflFlVEzhWLU9ZN EZ+Q== X-Gm-Message-State: AKGB3mLwIddX73jlqzXz2iYfhsXZMxPKU5yQDaM2mSV0a2OxAnDlwcZc niHzUIujnalyneiLLn+lSe6dlz8OIqkHvpVTtsf+knP8 X-Google-Smtp-Source: AGs4zMan7ogtihpwMMUqx7uK7SnPPgXoDWFqB90nV3TcC8HOOEcuaICVxjpg9tqganiEI40NJVrLGyuUANDV/6CGW2A= X-Received: by 10.200.19.11 with SMTP id e11mr1982687qtj.62.1512021639375; Wed, 29 Nov 2017 22:00:39 -0800 (PST) MIME-Version: 1.0 Received: by 10.140.42.136 with HTTP; Wed, 29 Nov 2017 22:00:38 -0800 (PST) From: kefu chai Date: Thu, 30 Nov 2017 14:00:38 +0800 Message-ID: To: dev@dpdk.org Cc: Kefu Chai Content-Type: text/plain; charset="UTF-8" Subject: [dpdk-dev] [PATCH] contigmem: include to fix FreeBSD build X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Nov 2017 06:00:40 -0000 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 --- lib/librte_eal/bsdapp/contigmem/contigmem.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/librte_eal/bsdapp/contigmem/contigmem.c b/lib/librte_eal/bsdapp/contigmem/contigmem.c index e8fb9087d..9676d8b35 100644 --- a/lib/librte_eal/bsdapp/contigmem/contigmem.c +++ b/lib/librte_eal/bsdapp/contigmem/contigmem.c @@ -45,6 +45,7 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include #include -- 2.15.0