projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0233372
)
intel/perf: use MAJOR_IN_SYSMACROS/MAJOR_IN_MKDEV
author
Greg V
<greg@unrelenting.technology>
Sun, 19 May 2019 20:24:45 +0000
(23:24 +0300)
committer
Eric Engestrom
<eric.engestrom@intel.com>
Thu, 8 Aug 2019 20:44:33 +0000
(21:44 +0100)
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
Fixes: 134e750e16bfc53480e0 ("i965: extract performance query metrics")
src/intel/perf/gen_perf.h
patch
|
blob
|
history
diff --git
a/src/intel/perf/gen_perf.h
b/src/intel/perf/gen_perf.h
index a3e08d1cb712fc02f08fd0a8cc2cdfad36c68ff4..e33d9b0c915604de2b3dfdb8f8a1ac0e299d3473 100644
(file)
--- a/
src/intel/perf/gen_perf.h
+++ b/
src/intel/perf/gen_perf.h
@@
-28,7
+28,11
@@
#include <stdint.h>
#include <string.h>
+#if defined(MAJOR_IN_SYSMACROS)
#include <sys/sysmacros.h>
+#elif defined(MAJOR_IN_MKDEV)
+#include <sys/mkdev.h>
+#endif
#include "util/hash_table.h"
#include "compiler/glsl/list.h"