mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 04:48:08 +02:00
intel/perf: use MAJOR_IN_SYSMACROS/MAJOR_IN_MKDEV
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
Fixes: 134e750e16 ("i965: extract performance query metrics")
This commit is contained in:
parent
0233372581
commit
ac1561088d
1 changed files with 4 additions and 0 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue