From: Greg V Date: Sun, 19 May 2019 20:24:45 +0000 (+0300) Subject: intel/perf: use MAJOR_IN_SYSMACROS/MAJOR_IN_MKDEV X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ac1561088d7e8f395a10eab5de3af6576719831a;p=mesa.git intel/perf: use MAJOR_IN_SYSMACROS/MAJOR_IN_MKDEV Reviewed-by: Eric Engestrom Fixes: 134e750e16bfc53480e0 ("i965: extract performance query metrics") --- 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"