diff --git a/src/xrt/auxiliary/util/u_trace_marker.h b/src/xrt/auxiliary/util/u_trace_marker.h index 89716e7bb..062077fd2 100644 --- a/src/xrt/auxiliary/util/u_trace_marker.h +++ b/src/xrt/auxiliary/util/u_trace_marker.h @@ -25,7 +25,7 @@ #endif #endif -#ifdef XRT_FEATURE_TRACING +#if defined(XRT_FEATURE_TRACING) && defined(XRT_HAVE_PERCETTO) #define U_TRACE_PERCETTO #include #endif