diff --git a/payloads/libpayload/libc/time.c b/payloads/libpayload/libc/time.c index 4109eab7d7..4ed788fbdc 100644 --- a/payloads/libpayload/libc/time.c +++ b/payloads/libpayload/libc/time.c @@ -34,7 +34,7 @@ #include #include -#if IS_ENABLED(CONFIG_LP_ARCH_X86) +#if IS_ENABLED(CONFIG_LP_ARCH_X86) && IS_ENABLED(CONFIG_LP_NVRAM) #include #endif