intel/common: include unistd.h for ioctl() prototype on Solaris
[mesa.git] / src / intel / common / gen_gem.h
index c4dda6de65796ee60a4c48f384b5962ec93d00ae..fc48d54386bd80eb56e831c7803dbac2f6293d6c 100644 (file)
@@ -26,6 +26,7 @@
 
 #include <errno.h>
 #include <stdint.h>
+#include <unistd.h>
 #include <sys/ioctl.h>
 
 static inline uint64_t