From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from e28smtp07.in.ibm.com (e28smtp07.in.ibm.com [122.248.162.7]) by dpdk.org (Postfix) with ESMTP id 8D61E568B for ; Wed, 9 Dec 2015 04:54:58 +0100 (CET) Received: from localhost by e28smtp07.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 9 Dec 2015 09:24:56 +0530 Received: from d28dlp03.in.ibm.com (9.184.220.128) by e28smtp07.in.ibm.com (192.168.1.137) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Wed, 9 Dec 2015 09:24:48 +0530 X-IBM-Helo: d28dlp03.in.ibm.com X-IBM-MailFrom: chaozhu@linux.vnet.ibm.com X-IBM-RcptTo: dev@dpdk.org Received: from d28relay04.in.ibm.com (d28relay04.in.ibm.com [9.184.220.61]) by d28dlp03.in.ibm.com (Postfix) with ESMTP id 29DA3125801E for ; Wed, 9 Dec 2015 09:25:11 +0530 (IST) Received: from d28av05.in.ibm.com (d28av05.in.ibm.com [9.184.220.67]) by d28relay04.in.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id tB93slYS56492078 for ; Wed, 9 Dec 2015 09:24:47 +0530 Received: from d28av05.in.ibm.com (localhost [127.0.0.1]) by d28av05.in.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id tB93skrJ012409 for ; Wed, 9 Dec 2015 09:24:46 +0530 Received: from [9.186.58.61] ([9.186.58.61]) by d28av05.in.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id tB93sjSS011724; Wed, 9 Dec 2015 09:24:46 +0530 To: Jerin Jacob References: <1449563332-1536-1-git-send-email-chaozhu@linux.vnet.ibm.com> <20151208091032.GA25103@localhost.localdomain> From: Chao Zhu Message-ID: <5667A5F6.2090806@linux.vnet.ibm.com> Date: Wed, 9 Dec 2015 11:54:30 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <20151208091032.GA25103@localhost.localdomain> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15120903-0025-0000-0000-0000088C21AA Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] librte_hash: Fix compile errors on IBM POWER X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Dec 2015 03:54:59 -0000 Jerin, Both stdio.h and stddef.h works on POWER. To make it work on ARM, I'll use stddef.h and submit another patch. Thanks! On 2015/12/8 17:10, Jerin Jacob wrote: > On Tue, Dec 08, 2015 at 04:28:52PM +0800, Chao Zhu wrote: >> This patch fixes the compile errors caused by lacking of "size_t" definition in rte_hash.h. >> >> Signed-off-by: Chao Zhu >> --- >> lib/librte_hash/rte_hash.h | 1 + >> 1 files changed, 1 insertions(+), 0 deletions(-) >> >> diff --git a/lib/librte_hash/rte_hash.h b/lib/librte_hash/rte_hash.h >> index 6494ade..5046e9b 100644 >> --- a/lib/librte_hash/rte_hash.h >> +++ b/lib/librte_hash/rte_hash.h >> @@ -41,6 +41,7 @@ >> */ >> >> #include >> +#include > Thanks for the patch. > The Same issue comes with arm64 GCC 5.2 compiler too. > Shouldn't be stddef.h instead of stdio.h? > >> >> #ifdef __cplusplus >> extern "C" { >> -- >> 1.7.1 >>