--- lib/i915/perf.c.orig 2022-08-31 20:00:01 UTC +++ lib/i915/perf.c @@ -29,7 +29,9 @@ #include #include #include +#ifdef __linux__ #include +#endif #include #include