From 84c9b5a9fe926f1aa033dc5352be8d4a5e0b789d Mon Sep 17 00:00:00 2001 From: Bruce Richardson Date: Wed, 4 May 2016 17:37:56 +0100 Subject: [PATCH] eal: add missing include to debug header The header file rte_debug.h makes use of the "unlikely" macro which means it should include the rte_branch_prediction.h header file. Fixes: 50705e8e3cdd ("eal: add assert macro for debug") Signed-off-by: Bruce Richardson Acked-by: Ferruh Yigit --- lib/librte_eal/common/include/rte_debug.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/librte_eal/common/include/rte_debug.h b/lib/librte_eal/common/include/rte_debug.h index 9260eda5d5..cab6fb4c94 100644 --- a/lib/librte_eal/common/include/rte_debug.h +++ b/lib/librte_eal/common/include/rte_debug.h @@ -44,6 +44,7 @@ */ #include "rte_log.h" +#include "rte_branch_prediction.h" #ifdef __cplusplus extern "C" { -- 2.20.1