From: Chao Zhu Date: Wed, 9 Dec 2015 04:11:47 +0000 (+0800) Subject: hash: fix build on IBM POWER and ARM X-Git-Tag: spdx-start~7810 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=8b8c7a35dba385d384924719c7551b5d9138b803;p=dpdk.git hash: fix build on IBM POWER and ARM This patch fixes the compile errors caused by lacking of "size_t" definition in rte_hash.h. The compile error exists on IBM POWER and ARM. The errors are like: In file included from app/test/test_hash_scaling.c:35:0: rte_hash.h:70:70: error: unknown type name ‘size_t’ Fixes: 95da2f8e9c61 ("hash: customize compare function") Signed-off-by: Chao Zhu Acked-by: Jerin Jacob --- diff --git a/lib/librte_hash/rte_hash.h b/lib/librte_hash/rte_hash.h index 6494adea04..85fc416276 100644 --- a/lib/librte_hash/rte_hash.h +++ b/lib/librte_hash/rte_hash.h @@ -41,6 +41,7 @@ */ #include +#include #ifdef __cplusplus extern "C" {