[dpdk-dev] [PATCH] librte_hash: Fix compile errors on IBM POWER

Chao Zhu chaozhu at linux.vnet.ibm.com
Tue Dec 8 09:28:52 CET 2015


This patch fixes the compile errors caused by lacking of "size_t" definition in rte_hash.h.

Signed-off-by: Chao Zhu <chaozhu at linux.vnet.ibm.com>
---
 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 <stdint.h>
+#include <stdio.h>
 
 #ifdef __cplusplus
 extern "C" {
-- 
1.7.1



More information about the dev mailing list