From: Thomas Monjalon Date: Tue, 3 Mar 2015 10:45:02 +0000 (+0100) Subject: fm10k: fix build with debug enabled X-Git-Tag: spdx-start~9507 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=ae6ad6b0c47a4d9ff5381e44ae460c748402c83f;p=dpdk.git fm10k: fix build with debug enabled error: implicit declaration of function ‘RTE_LOG’ Fixes: a6061d9e7075 ("fm10k: register PF driver") Signed-off-by: Thomas Monjalon --- 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)