eal: add missing include to debug header
authorBruce Richardson <bruce.richardson@intel.com>
Wed, 4 May 2016 16:37:56 +0000 (17:37 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 5 May 2016 20:47:42 +0000 (22:47 +0200)
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 <bruce.richardson@intel.com>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
lib/librte_eal/common/include/rte_debug.h

index 9260eda..cab6fb4 100644 (file)
@@ -44,6 +44,7 @@
  */
 
 #include "rte_log.h"
+#include "rte_branch_prediction.h"
 
 #ifdef __cplusplus
 extern "C" {