summaryrefslogtreecommitdiff
path: root/src/intel/common/gen_gem.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/intel/common/gen_gem.h')
-rw-r--r--src/intel/common/gen_gem.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel/common/gen_gem.h b/src/intel/common/gen_gem.h
index 8df2c249e48..2f609837a87 100644
--- a/src/intel/common/gen_gem.h
+++ b/src/intel/common/gen_gem.h
@@ -25,6 +25,7 @@
#define GEN_GEM_H
#include <stdint.h>
+#include <unistd.h>
static inline uint64_t
gen_canonical_address(uint64_t v)