summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/intel/common/gen_gem.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/intel/common/gen_gem.h b/src/intel/common/gen_gem.h
index 7dd9ae6d548..8df2c249e48 100644
--- a/src/intel/common/gen_gem.h
+++ b/src/intel/common/gen_gem.h
@@ -24,6 +24,8 @@
#ifndef GEN_GEM_H
#define GEN_GEM_H
+#include <stdint.h>
+
static inline uint64_t
gen_canonical_address(uint64_t v)
{