diff --git a/src/intel/common/xe/intel_gem.c b/src/intel/common/xe/intel_gem.c index f19d8ebc83d..5832d4acb48 100644 --- a/src/intel/common/xe/intel_gem.c +++ b/src/intel/common/xe/intel_gem.c @@ -68,7 +68,9 @@ xe_gem_read_correlate_cpu_gpu_timestamp(int fd, case CLOCK_MONOTONIC_RAW: #endif case CLOCK_REALTIME: +#ifdef CLOCK_BOOTTIME case CLOCK_BOOTTIME: +#endif #ifdef CLOCK_TAI case CLOCK_TAI: #endif