From ac1561088d7e8f395a10eab5de3af6576719831a Mon Sep 17 00:00:00 2001 From: Greg V Date: Sun, 19 May 2019 23:24:45 +0300 Subject: [PATCH] intel/perf: use MAJOR_IN_SYSMACROS/MAJOR_IN_MKDEV Reviewed-by: Eric Engestrom Fixes: 134e750e16bfc53480e0 ("i965: extract performance query metrics") --- src/intel/perf/gen_perf.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/intel/perf/gen_perf.h b/src/intel/perf/gen_perf.h index a3e08d1cb71..e33d9b0c915 100644 --- a/src/intel/perf/gen_perf.h +++ b/src/intel/perf/gen_perf.h @@ -28,7 +28,11 @@ #include #include +#if defined(MAJOR_IN_SYSMACROS) #include +#elif defined(MAJOR_IN_MKDEV) +#include +#endif #include "util/hash_table.h" #include "compiler/glsl/list.h" -- 2.30.2