From 8b8c7a35dba385d384924719c7551b5d9138b803 Mon Sep 17 00:00:00 2001 From: Chao Zhu Date: Wed, 9 Dec 2015 12:11:47 +0800 Subject: [PATCH] hash: fix build on IBM POWER and ARM MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- lib/librte_hash/rte_hash.h | 1 + 1 file changed, 1 insertion(+) 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" { -- 2.20.1