From 6e84ce875667bde181d09b8026a35fc6d2ac8a78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E4=BD=B3=E9=91=AB?= Date: Mon, 12 Aug 2024 16:23:23 +0800 Subject: [PATCH] add include path MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 朱佳鑫 --- adapter/khdf/linux/platform/fwk/platform_trace.c | 4 ---- adapter/khdf/linux/platform/platform.mk | 3 ++- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/adapter/khdf/linux/platform/fwk/platform_trace.c b/adapter/khdf/linux/platform/fwk/platform_trace.c index 047d97017..999ddabdb 100644 --- a/adapter/khdf/linux/platform/fwk/platform_trace.c +++ b/adapter/khdf/linux/platform/fwk/platform_trace.c @@ -18,11 +18,7 @@ #include "osal_mem.h" #include "securec.h" #include -#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 6, 0) #include "stdarg.h" -#else -#include -#endif #include #include diff --git a/adapter/khdf/linux/platform/platform.mk b/adapter/khdf/linux/platform/platform.mk index eb52f295f..95a222f13 100644 --- a/adapter/khdf/linux/platform/platform.mk +++ b/adapter/khdf/linux/platform/platform.mk @@ -52,4 +52,5 @@ ccflags-$(CONFIG_DRIVERS_HDF_PLATFORM) +=-I$(srctree)/drivers/hdf/framework/incl -I$(srctree)/drivers/hdf/inner_api/utils \ -I$(srctree)/drivers/hdf/inner_api/core \ -I$(srctree)/drivers/hdf/inner_api/host/shared \ - -I$(srctree)/bounds_checking_function/include + -I$(srctree)/bounds_checking_function/include \ + -I$(srctree)/include/linux -- Gitee