From c46df4c6ecb20a9dced627255220524de6655f3f Mon Sep 17 00:00:00 2001 From: Bruce Richardson Date: Tue, 20 Oct 2020 10:17:43 +0100 Subject: [PATCH] config: fix kni build When building kernel modules such as kni, the "config" directory is not passed as a standard path in the EXTRA_CFLAGS value, meaning that the rte_compatibility_defines.h is not found from rte_config.h. However, since both headers are in the same directory, we can just use quotes rather than angle-brackets to ensure the second header is always found if the first is. Fixes: b0b672aeadaa ("build: add defines for compatibility with make build") Signed-off-by: Bruce Richardson Acked-by: David Marchand --- config/rte_config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/rte_config.h b/config/rte_config.h index f64b4d6341..8aa46a1aaf 100644 --- a/config/rte_config.h +++ b/config/rte_config.h @@ -13,7 +13,7 @@ #define _RTE_CONFIG_H_ #include -#include +#include "rte_compatibility_defines.h" /* legacy defines */ #ifdef RTE_EXEC_ENV_LINUX -- 2.20.1