From: Bruce Richardson Date: Wed, 4 May 2016 16:37:56 +0000 (+0100) Subject: eal: add missing include to debug header X-Git-Tag: spdx-start~6971 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=84c9b5a9fe926f1aa033dc5352be8d4a5e0b789d;p=dpdk.git 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 --- 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" {