From ae6ad6b0c47a4d9ff5381e44ae460c748402c83f Mon Sep 17 00:00:00 2001 From: Thomas Monjalon Date: Tue, 3 Mar 2015 11:45:02 +0100 Subject: [PATCH] fm10k: fix build with debug enabled MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit error: implicit declaration of function ‘RTE_LOG’ Fixes: a6061d9e7075 ("fm10k: register PF driver") Signed-off-by: Thomas Monjalon --- lib/librte_pmd_fm10k/fm10k_logs.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/librte_pmd_fm10k/fm10k_logs.h b/lib/librte_pmd_fm10k/fm10k_logs.h index febd796065..41a45ce63f 100644 --- a/lib/librte_pmd_fm10k/fm10k_logs.h +++ b/lib/librte_pmd_fm10k/fm10k_logs.h @@ -34,6 +34,8 @@ #ifndef _FM10K_LOGS_H_ #define _FM10K_LOGS_H_ +#include + #define PMD_INIT_LOG(level, fmt, args...) \ rte_log(RTE_LOG_ ## level, RTE_LOGTYPE_PMD, \ "PMD: %s(): " fmt "\n", __func__, ##args) -- 2.20.1