diff --git a/kernel/sulog.c b/kernel/sulog.c index bdc2e9a1..53c52252 100644 --- a/kernel/sulog.c +++ b/kernel/sulog.c @@ -14,11 +14,9 @@ #include #include -#if __has_include() +#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 8, 0) #include -#endif -#ifndef time64_to_tm static inline void time64_to_tm(time64_t totalsecs, int offset, struct tm *result) { struct rtc_time rtc_tm;