diff --git a/adapter/khdf/linux/platform/fwk/platform_trace.c b/adapter/khdf/linux/platform/fwk/platform_trace.c index 047d97017905a4114fb52f11182ed2d1cd551a27..999ddabdb158a588c047a29f82585dfae4137d62 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 eb52f295f213380629d438faecccb74bf964f597..95a222f1393a7402d53c46da0f813612ca124988 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