summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 c4dda6de657..fc48d54386b 100644
--- a/src/intel/common/gen_gem.h
+++ b/src/intel/common/gen_gem.h
@@ -26,6 +26,7 @@
#include <errno.h>
#include <stdint.h>
+#include <unistd.h>
#include <sys/ioctl.h>
static inline uint64_t