[v3,1/4] eal: add missing include to mcslock
Checks
Commit Message
Include 'rte_branch_prediction.h' to get the likely/unlikely macro
definitions.
Fixes: 2173f3333b61 ("mcslock: add MCS queued lock implementation")
Cc: stable@dpdk.org
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
lib/librte_eal/include/generic/rte_mcslock.h | 1 +
1 file changed, 1 insertion(+)
@@ -22,6 +22,7 @@
#include <rte_lcore.h>
#include <rte_common.h>
#include <rte_pause.h>
+#include <rte_branch_prediction.h>
/**
* The rte_mcslock_t type.